getDeviceId method

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

Query the current device identifier.

Implementation

@override
Future<String?> getDeviceId() async {
  final version =
      await methodChannel.invokeMethod<String>(_getDeviceIdMethodName);
  return version;
}