changeThemeMode method Null safety

void changeThemeMode(
  1. ThemeMode value
)

Implementation

void changeThemeMode(ThemeMode value) {
  if (_themeMode == value) {
    return;
  }
  _themeMode = value;
  notifyListeners();
}