getAccounts method

Future<AccountsEntity> getAccounts()

Returns a list of all available accounts available for the AccessTokenEntity returned through _getAccessToken.

Implementation

Future<AccountsEntity> getAccounts() async {
  final token = await _getAccessToken();

  return AccountsRemoteSourceImpl(httpClient, token: token).getAccounts();
}