BatchEntry constructor

BatchEntry({
  1. ExistenceProof? exist,
  2. NonExistenceProof? nonexist,
})

Implementation

factory BatchEntry({
  ExistenceProof? exist,
  NonExistenceProof? nonexist,
}) {
  final _result = create();
  if (exist != null) {
    _result.exist = exist;
  }
  if (nonexist != null) {
    _result.nonexist = nonexist;
  }
  return _result;
}