Proposal constructor
Proposal({})
Implementation
factory Proposal({
SignedMsgType? type,
$fixnum.Int64? height,
$core.int? round,
$core.int? polRound,
BlockID? blockId,
$3.Timestamp? timestamp,
$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 (polRound != null) {
_result.polRound = polRound;
}
if (blockId != null) {
_result.blockId = blockId;
}
if (timestamp != null) {
_result.timestamp = timestamp;
}
if (signature != null) {
_result.signature = signature;
}
return _result;
}