Validator constructor
Validator(
{ - List<int>? address,
- PublicKey? pubKey,
- Int64? votingPower,
- Int64? proposerPriority,
})
Implementation
factory Validator({
$core.List<$core.int>? address,
$0.PublicKey? pubKey,
$fixnum.Int64? votingPower,
$fixnum.Int64? proposerPriority,
}) {
final _result = create();
if (address != null) {
_result.address = address;
}
if (pubKey != null) {
_result.pubKey = pubKey;
}
if (votingPower != null) {
_result.votingPower = votingPower;
}
if (proposerPriority != null) {
_result.proposerPriority = proposerPriority;
}
return _result;
}