setTheme method
Selects the theme by the given theme id. Throws an AssertionError if the theme id is not found.
Implementation
void setTheme(String themeId) {
assert(_appThemes.containsKey(themeId));
int themeIndex = _appThemeIds.indexOf(themeId);
_setThemeByIndex(themeIndex);
}