FullBlock constructor

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

Implementation

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