ExistenceProof constructor

ExistenceProof({
  1. List<int>? key,
  2. List<int>? value,
  3. LeafOp? leaf,
  4. Iterable<InnerOp>? path,
})

Implementation

factory ExistenceProof({
  $core.List<$core.int>? key,
  $core.List<$core.int>? value,
  LeafOp? leaf,
  $core.Iterable<InnerOp>? path,
}) {
  final _result = create();
  if (key != null) {
    _result.key = key;
  }
  if (value != null) {
    _result.value = value;
  }
  if (leaf != null) {
    _result.leaf = leaf;
  }
  if (path != null) {
    _result.path.addAll(path);
  }
  return _result;
}