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