copyWith method

OkHsl copyWith({
  1. double? hue,
  2. double? saturation,
  3. double? lightness,
})

Implementation

OkHsl copyWith({double? hue, double? saturation, double? lightness}) {
  return OkHsl(hue ?? h, saturation ?? s, lightness ?? l);
}