allValueTranslations property

  1. @override
Map<Locale, String> allValueTranslations
override

Gets all translations of the value.

@return a Map containing all translations for the value and their locale

Implementation

@override
Map<Locale, String> get allValueTranslations {
  Map<Locale, String> m = HashMap();
  for (var e in _value.entries) {
    m[Locale.parse(e.key)] = e.value;
  }
  return m;
}