allDescriptionTranslations property

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

Gets all translations of the description of the value.

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

Implementation

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