clampNegatives method
Implementation
ValueThreshold clampNegatives() {
return ValueThreshold(
_min < 0 ? 0 : _min,
_max < 0 ? 0 : _max,
);
}
ValueThreshold clampNegatives() {
return ValueThreshold(
_min < 0 ? 0 : _min,
_max < 0 ? 0 : _max,
);
}