supportedLocales property

Set<String> get supportedLocales

Gets the set of all supported locales.

This includes both predefined locales from localeMap and any locales for which custom translations have been added.

Implementation

Set<String> get supportedLocales =>
    Set.from(localeMap.keys)..addAll(_customTranslations.keys);