generateToken static method
Generates a token that identifies the current device.
Converted to string from NSData from ios platform using Base64-encoding.
Implementation
static Future<String> generateToken() async {
return _channel.invokeMethod('generateToken').then((value) => value!);
}