getWarning method

Future<WarningRsp?> getWarning(
  1. String location
)
inherited

Implementation

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