QueryValidatorSlashesRequest constructor

QueryValidatorSlashesRequest({
  1. String? validatorAddress,
  2. Int64? startingHeight,
  3. Int64? endingHeight,
  4. PageRequest? pagination,
})

Implementation

factory QueryValidatorSlashesRequest({
  $core.String? validatorAddress,
  $fixnum.Int64? startingHeight,
  $fixnum.Int64? endingHeight,
  $4.PageRequest? pagination,
}) {
  final _result = create();
  if (validatorAddress != null) {
    _result.validatorAddress = validatorAddress;
  }
  if (startingHeight != null) {
    _result.startingHeight = startingHeight;
  }
  if (endingHeight != null) {
    _result.endingHeight = endingHeight;
  }
  if (pagination != null) {
    _result.pagination = pagination;
  }
  return _result;
}