GetValidatorSetByHeightResponse constructor
GetValidatorSetByHeightResponse({
- Int64? blockHeight,
- Iterable<
Validator> ? validators, - PageResponse? pagination,
Implementation
factory GetValidatorSetByHeightResponse({
$fixnum.Int64? blockHeight,
$core.Iterable<Validator>? validators,
$1.PageResponse? pagination,
}) {
final _result = create();
if (blockHeight != null) {
_result.blockHeight = blockHeight;
}
if (validators != null) {
_result.validators.addAll(validators);
}
if (pagination != null) {
_result.pagination = pagination;
}
return _result;
}