toggleWeatherFeature method

Future<void> toggleWeatherFeature()

Implementation

Future<void> toggleWeatherFeature() async {
  state = state.copyWith(isWeatherEnabled: !state.isWeatherEnabled);
  await _saveSettings(state);
}