getAccountName static method

Future<String?> getAccountName()

get account name

return null if not authorized.

Implementation

static Future<String?> getAccountName() async {
  return await _channel.invokeMethod('getAccountName');
}