getUserName method
Get the name of the user in the session.
Return the name of the user in the session.
Implementation
Future<String> getUserName() async {
var params = <String, dynamic>{};
params.putIfAbsent("userId", () => userId);
return await methodChannel
.invokeMethod<String>('getUserName', params)
.then<String>((String? value) => value ?? "");
}