IsoTranslatedIterableExtension<L extends BasicLocale, T extends TranslatedName, N extends Object, I extends IsoTranslated<T, N> > extension
An extension on Iterable where the type parameter I
extends
IsoTranslated.
This extension provides a method to generate a cache map of translations for a given locale. The cache map can be used to quickly lookup the translation for an IsoTranslated object.
- on
-
- Iterable<
I>
- Iterable<
Methods
-
commonNamesCacheMap(
L locale, {bool useLanguageFallback = true}) → Map< I, String> -
Generates a cache map of common name translations for the given
locale
.