QueryDelegatorDelegationsResponse constructor

QueryDelegatorDelegationsResponse({
  1. Iterable<DelegationResponse>? delegationResponses,
  2. PageResponse? pagination,
})

Implementation

factory QueryDelegatorDelegationsResponse({
  $core.Iterable<$7.DelegationResponse>? delegationResponses,
  $8.PageResponse? pagination,
}) {
  final _result = create();
  if (delegationResponses != null) {
    _result.delegationResponses.addAll(delegationResponses);
  }
  if (pagination != null) {
    _result.pagination = pagination;
  }
  return _result;
}