ProtoBlockProposal_Data constructor

ProtoBlockProposal_Data({
  1. ProtoBlockHeader? header,
  2. ProtoBlockBody? body,
  3. List<int>? proof,
})

Implementation

factory ProtoBlockProposal_Data({
  ProtoBlockHeader? header,
  ProtoBlockBody? body,
  $core.List<$core.int>? proof,
}) {
  final _result = create();
  if (header != null) {
    _result.header = header;
  }
  if (body != null) {
    _result.body = body;
  }
  if (proof != null) {
    _result.proof = proof;
  }
  return _result;
}