ProtoGossipBlockRange_Block constructor
ProtoGossipBlockRange_Block({
- ProtoBlockHeader? header,
- ProtoBlockCert? cert,
- ProtoIdentityStateDiff? diff,
Implementation
factory ProtoGossipBlockRange_Block({
ProtoBlockHeader? header,
ProtoBlockCert? cert,
ProtoIdentityStateDiff? diff,
}) {
final _result = create();
if (header != null) {
_result.header = header;
}
if (cert != null) {
_result.cert = cert;
}
if (diff != null) {
_result.diff = diff;
}
return _result;
}