getWeatherNow method

Future<WeatherNowResp?> getWeatherNow(
  1. String location
)
inherited

Implementation

Future<WeatherNowResp?> getWeatherNow(String location) async {
  Map? value = await _methodChannel.invokeMapMethod(
      MethodConstants.GetWeatherNow, location);
  return value == null ? null : WeatherNowResp.fromMap(value);
}