legacyTranslations property

  1. @Deprecated('To have compatibility with the old code')
Map<String, Map<String, LabelTr>> get legacyTranslations

Implementation

@Deprecated('To have compatibility with the old code')
Map<String, Map<String, LabelTr>> get legacyTranslations => {
      for (final e in languageBundles)
        e.locale: e.translations.map(
          (key, value) => MapEntry(
            key,
            LabelTr(
              key: key,
              // ignore: deprecated_member_use_from_same_package
              value: value.original,
            ),
          ),
        )
    };