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;
}