withSaturation method Null safety
- double saturation
Returns a copy of this color with the saturation
parameter replaced with
the given value.
Implementation
HSVColor withSaturation(double saturation) {
return HSVColor.fromAHSV(alpha, hue, saturation, value);
}