copyWith method

OkLab copyWith({
  1. double? lightness,
  2. double? a,
  3. double? b,
})

Implementation

OkLab copyWith({double? lightness, double? a, double? b}) {
  return OkLab(lightness ?? L, a ?? this.a, b ?? this.b);
}