CompressedNonExistenceProof constructor Null safety

CompressedNonExistenceProof(
  1. {List<int>? key,
  2. CompressedExistenceProof? left,
  3. CompressedExistenceProof? right}
)

Implementation

factory CompressedNonExistenceProof({
  $core.List<$core.int>? key,
  CompressedExistenceProof? left,
  CompressedExistenceProof? right,
}) {
  final _result = create();
  if (key != null) {
    _result.key = key;
  }
  if (left != null) {
    _result.left = left;
  }
  if (right != null) {
    _result.right = right;
  }
  return _result;
}