copyWith method
Implementation
ThemeState copyWith({
ThemeMode? themeMode,
CustomThemeData? customTheme,
bool? isDarkMode,
}) {
return ThemeState(
themeMode: themeMode ?? this.themeMode,
customTheme: customTheme ?? this.customTheme,
isDarkMode: isDarkMode ?? this.isDarkMode,
);
}