copyWith method

SettingsState copyWith({
  1. ThemeMode? themeMode,
})

Implementation

SettingsState copyWith({
  ThemeMode? themeMode,
}) {
  return SettingsState(
    themeMode: themeMode ?? this.themeMode,
  );
}