QueryAllBalancesResponse constructor

QueryAllBalancesResponse({
  1. Iterable<Coin>? balances,
  2. PageResponse? pagination,
})

Implementation

factory QueryAllBalancesResponse({
  $core.Iterable<$2.Coin>? balances,
  $4.PageResponse? pagination,
}) {
  final _result = create();
  if (balances != null) {
    _result.balances.addAll(balances);
  }
  if (pagination != null) {
    _result.pagination = pagination;
  }
  return _result;
}