tr property

String tr
  • translate a text based on the App locale
  • if there is error will use the config notFound

Implementation

String get tr =>
    ExtractedData.parse(key: this, translations: AppLang.translations)
        .text() ??
    AppLang.config.notFound(this);