queryLatestPoint static method

Future<Result> queryLatestPoint({
  1. required String serviceId,
  2. required String terminalId,
})

获取终端位置

Implementation

static Future<Result> queryLatestPoint({
  required String serviceId,
  required String terminalId,
}) async {
  final String? json = await _channel.invokeMethod('queryLatestPoint', {
    "serviceId": serviceId,
    "terminalId": terminalId,
  });
  Result result = Result.fromJson(jsonDecode(json ?? "{}"));
  return result;
}