getDeviceId method

Future<String?> getDeviceId()

Gets the device ID.

Implementation

Future<String?> getDeviceId() async {
  return await _channel.invokeMethod<String>(
      'getDeviceId', <String, dynamic>{'appId': this._appId});
}