getAccount method

Future<Account> getAccount()

Gets information about the current Account resource.

May throw UnauthorizedException. May throw NotFoundException. May throw TooManyRequestsException.

Implementation

Future<Account> getAccount() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/account',
    exceptionFnMap: _exceptionFns,
  );
  return Account.fromJson(response);
}