QueryAllowancesResponse constructor

QueryAllowancesResponse({
  1. Iterable<Grant>? allowances,
  2. PageResponse? pagination,
})

Implementation

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