CompressedExistenceProof constructor

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

Implementation

factory CompressedExistenceProof({
  $core.List<$core.int>? key,
  $core.List<$core.int>? value,
  LeafOp? leaf,
  $core.Iterable<$core.int>? 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;
}