reduce method

The method that returns the new state.

Implementation

@override
SettingsState reduce() {
  return state.copyWith(
    themeMode: themeMode,
  );
}