CommitmentProof constructor
CommitmentProof({
- ExistenceProof? exist,
- NonExistenceProof? nonexist,
- BatchProof? batch,
- CompressedBatchProof? compressed,
Implementation
factory CommitmentProof({
ExistenceProof? exist,
NonExistenceProof? nonexist,
BatchProof? batch,
CompressedBatchProof? compressed,
}) {
final _result = create();
if (exist != null) {
_result.exist = exist;
}
if (nonexist != null) {
_result.nonexist = nonexist;
}
if (batch != null) {
_result.batch = batch;
}
if (compressed != null) {
_result.compressed = compressed;
}
return _result;
}