getAllTranslations method

Iterable<MapEntry<String, PackTranslation>> getAllTranslations()

Implementation

Iterable<MapEntry<String, PackTranslation>> getAllTranslations() =>
    getAssets(kPackTranslationsPath, true).map((e) {
      final translation = getTranslation(e);
      if (translation == null) return null;
      return MapEntry(e, translation);
    }).nonNulls;