getAirNow method

Future<AirNowResp?> getAirNow(
  1. String location
)
inherited

Implementation

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