clip method
Clips value
in this scale.
Implementation
@override
N clip(N value) {
if (value < minimum) return minimum;
if (value > maximum) return maximum;
return value;
}
Clips value
in this scale.
@override
N clip(N value) {
if (value < minimum) return minimum;
if (value > maximum) return maximum;
return value;
}