FullBlock constructor

FullBlock({
  1. BlockHeader? header,
  2. FullBlockBody? fullBody,
})

Implementation

factory FullBlock({
  $30.BlockHeader? header,
  FullBlockBody? fullBody,
}) {
  final $result = create();
  if (header != null) {
    $result.header = header;
  }
  if (fullBody != null) {
    $result.fullBody = fullBody;
  }
  return $result;
}