setThemeMode method Null safety

void setThemeMode(
  1. ThemeMode value
)

Implementation

void setThemeMode(ThemeMode value) {
  themeMode = value;
  update();
}