TxProof constructor

TxProof({
  1. List<int>? rootHash,
  2. List<int>? data,
  3. Proof? proof,
})

Implementation

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