QueryRedelegationsResponse constructor

QueryRedelegationsResponse({
  1. Iterable<RedelegationResponse>? redelegationResponses,
  2. PageResponse? pagination,
})

Implementation

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