Commit constructor
Implementation
factory Commit({
$fixnum.Int64? height,
$core.int? round,
BlockID? blockId,
$core.Iterable<CommitSig>? signatures,
}) {
final _result = create();
if (height != null) {
_result.height = height;
}
if (round != null) {
_result.round = round;
}
if (blockId != null) {
_result.blockId = blockId;
}
if (signatures != null) {
_result.signatures.addAll(signatures);
}
return _result;
}