setCustomThemes method

void setCustomThemes(
  1. List<ZetaCustomTheme> themes
)

Sets the custom themes in the app.

Implementation

void setCustomThemes(List<ZetaCustomTheme> themes) {
  setState(() {
    _customThemes = Map.fromEntries(themes.map((theme) => MapEntry(theme.id, theme)));
  });
}