QueryTotalSupplyResponse constructor

QueryTotalSupplyResponse({
  1. Iterable<Coin>? supply,
  2. PageResponse? pagination,
})

Implementation

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