addTrack static method

Future<Result> addTrack({
  1. required String terminalId,
})

创建轨迹

Implementation

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