getAccount method

Future<Response<Account>> getAccount()

Retrieves the user account information.

Returns a Response containing the Account information if successful, or an error if the request fails.

Implementation

Future<Response<Account>> getAccount() async {
  return _accountDataSource.getAccount(authToken: token);
}