ProtoBlockCert constructor
ProtoBlockCert({
- Int64? round,
- int? step,
- List<
int> ? votedHash, - Iterable<
ProtoBlockCert_Signature> ? signatures,
Implementation
factory ProtoBlockCert({
$fixnum.Int64? round,
$core.int? step,
$core.List<$core.int>? votedHash,
$core.Iterable<ProtoBlockCert_Signature>? signatures,
}) {
final _result = create();
if (round != null) {
_result.round = round;
}
if (step != null) {
_result.step = step;
}
if (votedHash != null) {
_result.votedHash = votedHash;
}
if (signatures != null) {
_result.signatures.addAll(signatures);
}
return _result;
}