getAccountBalances method

Future<PaginatedAccountBalances> getAccountBalances({
  1. required String accountId,
  2. String? before,
  3. String? after,
  4. int? perPage,
  5. String? expired,
})

Implementation

Future<PaginatedAccountBalances> getAccountBalances({
  required String accountId,
  String? before,
  String? after,
  int? perPage,
  String? expired,
}) async {
  return await invokeMethod<PaginatedAccountBalances>(
    (j) => PaginatedAccountBalances.fromJson(j),
    'autogen_getAccountBalances',
    {
      'env': this.env.index,
      'accessToken': this.accessToken,
      'account_id': accountId,
      'before': before,
      'after': after,
      'per_page': perPage,
      'expired': expired,
    },
  );
}