getDeviceId method

  1. @override
Future<String> getDeviceId()
override

获取 deviceId

Implementation

@override
Future<String> getDeviceId() async {
  var deviceId = await methodChannel.invokeMethod('getDeviceId');
  return "$deviceId";
}