ProtoBlock constructor
ProtoBlock({
- ProtoBlockHeader? header,
- ProtoBlockBody? body,
Implementation
factory ProtoBlock({
ProtoBlockHeader? header,
ProtoBlockBody? body,
}) {
final _result = create();
if (header != null) {
_result.header = header;
}
if (body != null) {
_result.body = body;
}
return _result;
}