i18nObjInLocaleLookup function
Get international lookup for a localeType
, key
and index
.
Implementation
String i18nObjInLocaleLookup(LocaleType localeType, String key, int index) {
final i18n = i18nObjInLocale(localeType);
final i18nKey = i18n[key] as List<String>;
return i18nKey[index];
}