scanOpen static method

Future<Map<String, dynamic>?> scanOpen({
  1. int? timeout,
})

开启扫码 timeout - 扫码超时时间,单位秒; 默认:30 秒

Implementation

static Future<Map<String, dynamic>?> scanOpen({int? timeout}) async {
  return await _channel.invokeMapMethod('scanOpen', {'timeout': timeout});
}