Lock_Image constructor

Lock_Image({
  1. Iterable<LockId>? leaves,
  2. int? threshold,
})

Implementation

factory Lock_Image({
  $core.Iterable<$7.LockId>? leaves,
  $core.int? threshold,
}) {
  final _result = create();
  if (leaves != null) {
    _result.leaves.addAll(leaves);
  }
  if (threshold != null) {
    _result.threshold = threshold;
  }
  return _result;
}