updateWeather method

Future<void> updateWeather(
  1. double lat,
  2. double lon
)

Implementation

Future<void> updateWeather(double lat, double lon) async {
  await weatherState.fetchWeather(lat, lon, weatherApi);
}