Threshold constructor Null safety
- double threshold
Creates a threshold curve.
The threshold argument must not be null.
Implementation
const Threshold(this.threshold) : assert(threshold != null);
Creates a threshold curve.
The threshold argument must not be null.
const Threshold(this.threshold) : assert(threshold != null);