getDeviceId method
Invoke native code to return a device id for iOS and an unique identifer for Android. Throw an error if getDeviceId is not implemented for a platform.
Implementation
Future<String?> getDeviceId() {
throw UnimplementedError('getDeviceId() has not been implemented.');
}