copyWith method

HslColor copyWith({
  1. num? h,
  2. num? s,
  3. num? l,
})

Implementation

HslColor copyWith({
  num? h,
  num? s,
  num? l,
}) {
  return HslColor(
    h: h ?? this.h,
    s: s ?? this.s,
    l: l ?? this.l,
  );
}