setUserIdentity static method
This method is used for setting the UserIdentity that can be seen as sessions.
userIdentity
is String
By default if this is not set. A Random name will be assigned.
Implementation
static Future<void> setUserIdentity(String? userIdentity) async {
await _channel.invokeMethod('setUserIdentity', {"key": userIdentity});
}