Block constructor
Block({
- BlockHeader? header,
- BlockBody? body,
Implementation
factory Block({
$21.BlockHeader? header,
BlockBody? body,
}) {
final _result = create();
if (header != null) {
_result.header = header;
}
if (body != null) {
_result.body = body;
}
return _result;
}