Proposition_Threshold constructor

Proposition_Threshold({
  1. Iterable<Proposition>? challenges,
  2. int? threshold,
})

Implementation

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