copyWith method
Create a copy with some fields replaced.
Implementation
ThemeSeed copyWith({
int? primary,
int? background,
int? secondary,
int? accent,
int? border,
int? destructive,
int? success,
int? warning,
int? info,
bool? isDark,
bool? accentGlow,
int? glowColor,
}) {
return ThemeSeed(
primary: primary ?? this.primary,
background: background ?? this.background,
secondary: secondary ?? this.secondary,
accent: accent ?? this.accent,
border: border ?? this.border,
destructive: destructive ?? this.destructive,
success: success ?? this.success,
warning: warning ?? this.warning,
info: info ?? this.info,
isDark: isDark ?? this.isDark,
accentGlow: accentGlow ?? this.accentGlow,
glowColor: glowColor ?? this.glowColor,
);
}