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