deviceId method
Returns the unique device ID generated by the Cobrowse SDK.
Implementation
@override
Future<String> deviceId() async {
String? rvalue;
try {
rvalue = await methodChannel.invokeMethod<String>('deviceId');
} on PlatformException catch (e) {
print('Cannot get device ID: $e');
}
return rvalue ?? '';
}