QueryRedelegationsRequest constructor

QueryRedelegationsRequest({
  1. String? delegatorAddr,
  2. String? srcValidatorAddr,
  3. String? dstValidatorAddr,
  4. PageRequest? pagination,
})

Implementation

factory QueryRedelegationsRequest({
  $core.String? delegatorAddr,
  $core.String? srcValidatorAddr,
  $core.String? dstValidatorAddr,
  $8.PageRequest? pagination,
}) {
  final _result = create();
  if (delegatorAddr != null) {
    _result.delegatorAddr = delegatorAddr;
  }
  if (srcValidatorAddr != null) {
    _result.srcValidatorAddr = srcValidatorAddr;
  }
  if (dstValidatorAddr != null) {
    _result.dstValidatorAddr = dstValidatorAddr;
  }
  if (pagination != null) {
    _result.pagination = pagination;
  }
  return _result;
}