BlockData constructor

BlockData({
  1. BlockHeader? header,
  2. FullBlockBody? body,
})

Implementation

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