QueryDepositsResponse constructor

QueryDepositsResponse({
  1. Iterable<Deposit>? deposits,
  2. PageResponse? pagination,
})

Implementation

factory QueryDepositsResponse({
  $core.Iterable<$6.Deposit>? deposits,
  $7.PageResponse? pagination,
}) {
  final _result = create();
  if (deposits != null) {
    _result.deposits.addAll(deposits);
  }
  if (pagination != null) {
    _result.pagination = pagination;
  }
  return _result;
}