Part constructor

Part({
  1. int? index,
  2. List<int>? bytes,
  3. Proof? proof,
})

Implementation

factory Part({
  $core.int? index,
  $core.List<$core.int>? bytes,
  $1.Proof? proof,
}) {
  final _result = create();
  if (index != null) {
    _result.index = index;
  }
  if (bytes != null) {
    _result.bytes = bytes;
  }
  if (proof != null) {
    _result.proof = proof;
  }
  return _result;
}