copyWith method
ClockSettings
copyWith({
- ThemeMode? themeMode,
- TimeFormat? timeFormat,
- bool? isFlipped,
- bool? isWeatherEnabled,
Implementation
ClockSettings copyWith({
ThemeMode? themeMode,
TimeFormat? timeFormat,
bool? isFlipped,
bool? isWeatherEnabled,
}) {
return ClockSettings(
themeMode: themeMode ?? this.themeMode,
timeFormat: timeFormat ?? this.timeFormat,
isFlipped: isFlipped ?? this.isFlipped,
isWeatherEnabled: isWeatherEnabled ?? this.isWeatherEnabled,
);
}