ProtoBlockHeader constructor
ProtoBlockHeader({
- ProtoBlockHeader_Proposed? proposedHeader,
- ProtoBlockHeader_Empty? emptyHeader,
Implementation
factory ProtoBlockHeader({
ProtoBlockHeader_Proposed? proposedHeader,
ProtoBlockHeader_Empty? emptyHeader,
}) {
final _result = create();
if (proposedHeader != null) {
_result.proposedHeader = proposedHeader;
}
if (emptyHeader != null) {
_result.emptyHeader = emptyHeader;
}
return _result;
}