Lock_Predicate constructor

Lock_Predicate({
  1. Iterable<Challenge>? challenges,
  2. int? threshold,
})

Implementation

factory Lock_Predicate({
  $core.Iterable<$6.Challenge>? challenges,
  $core.int? threshold,
}) {
  final _result = create();
  if (challenges != null) {
    _result.challenges.addAll(challenges);
  }
  if (threshold != null) {
    _result.threshold = threshold;
  }
  return _result;
}