getAccountAddresses function
Future<ApiResponse<Account> >
getAccountAddresses(
- ExsitedClient client,
- Object accountId, {
- bool? raiseOnError,
- String? responseFormat,
GET /api/v4/accounts/{account_id}/addresses - the account's addresses.
The account envelope with an addresses list on it.
Implementation
Future<ApiResponse<Account>> getAccountAddresses(
ExsitedClient client,
Object accountId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(AccountsUrls.accountAddresses,
pathParams: {'account_id': accountId},
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: Account.fromMap);