getRequestUserName method

  1. @override
Future<String> getRequestUserName()

Get the name of the user requesting help.
Return the user name as a string.

Implementation

@override
Future<String> getRequestUserName() async {
  return await methodChannel
      .invokeMethod<String>('getRequestUserName')
      .then<String>((String? value) => value ?? "");
}