QueryValidatorDelegationsResponse constructor

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

Implementation

factory QueryValidatorDelegationsResponse({
  $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;
}