void toggleSection(String layer, int? section) => _emit( state.copyWith( openSections: _toggled(state.openSections, (layer, section)), ), );