Vote constructor
Vote({})
Implementation
factory Vote({
SignedMsgType? type,
$fixnum.Int64? height,
$core.int? round,
BlockID? blockId,
$3.Timestamp? timestamp,
$core.List<$core.int>? validatorAddress,
$core.int? validatorIndex,
$core.List<$core.int>? signature,
}) {
final _result = create();
if (type != null) {
_result.type = type;
}
if (height != null) {
_result.height = height;
}
if (round != null) {
_result.round = round;
}
if (blockId != null) {
_result.blockId = blockId;
}
if (timestamp != null) {
_result.timestamp = timestamp;
}
if (validatorAddress != null) {
_result.validatorAddress = validatorAddress;
}
if (validatorIndex != null) {
_result.validatorIndex = validatorIndex;
}
if (signature != null) {
_result.signature = signature;
}
return _result;
}