exec method

ThresholdModel exec(
  1. {required Threshold threshold}
)

Implementation

ThresholdModel exec({
  required Threshold threshold,
}) {
  return ThresholdModel(
    positive: threshold.positive,
    negative: threshold.negative,
    range: threshold.range,
  );
}