getDeviceId method
Implementation
@override
Future<String> getDeviceId() async {
try {
return await methodChannel.invokeMethod<String>('getDeviceId') ?? '';
}
on PlatformException catch(exception) {
log.severe('Exception when getting the device id: ${exception.message}');
return '';
}
}