getWarningList method
Implementation
Future<WarningListRsp?> getWarningList({String range = 'cn'}) async {
Map? value = await _methodChannel.invokeMapMethod(
MethodConstants.GetWarningList, range.isEmpty ? 'cn' : range);
return value == null ? null : WarningListRsp.fromMap(value);
}