tr property

String get tr

Retrieves the translated version of the string using the current locale.

This getter uses the TranslateLocale to get the translated string.

Implementation

String get tr => TranslateLocale.locale.greeting(this);