getDeviceId method

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

Gets the device's Android ID.

Implementation

@override
Future<String?> getDeviceId() async {
  return await methodChannel.invokeMethod<String>('getDeviceId');
}