CompressedBatchEntry constructor

CompressedBatchEntry({
  1. CompressedExistenceProof? exist,
  2. CompressedNonExistenceProof? nonexist,
})

Implementation

factory CompressedBatchEntry({
  CompressedExistenceProof? exist,
  CompressedNonExistenceProof? nonexist,
}) {
  final _result = create();
  if (exist != null) {
    _result.exist = exist;
  }
  if (nonexist != null) {
    _result.nonexist = nonexist;
  }
  return _result;
}