Threshold constructor

const Threshold(
  1. double threshold
)

Creates a threshold curve.

Implementation

const Threshold(this.threshold);