copyWith method

ISpectDynamicColor copyWith({
  1. Color? dark,
  2. Color? light,
})

Implementation

ISpectDynamicColor copyWith({Color? dark, Color? light}) =>
    ISpectDynamicColor(dark: dark ?? this.dark, light: light ?? this.light);