copyWith method

Hct copyWith({
  1. double? hue,
  2. double? chroma,
  3. double? tone,
})

Implementation

Hct copyWith({double? hue, double? chroma, double? tone}) =>
    hue != null || chroma != null || tone != null
    ? .from(hue ?? this.hue, chroma ?? this.chroma, tone ?? this.tone)
    : this;