QueryValidatorUnbondingDelegationsResponse constructor

QueryValidatorUnbondingDelegationsResponse({
  1. Iterable<UnbondingDelegation>? unbondingResponses,
  2. PageResponse? pagination,
})

Implementation

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