getWarningList method

Future<WarningListRsp?> getWarningList({
  1. String range = 'cn',
})
inherited

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);
}