getDeviceUUID method
Returns device UUID to callback.
Implementation
void getDeviceUUID({required Function(String uuid) callback}) async {
if (_initialized) {
callback(await channel.invokeMethod('getDeviceUUID'));
} else {
_pendingCallbackMethods.add(_PendingCallbackMethod(
methodName: 'getDeviceUUID', callback: callback));
}
}