getText method

String? getText(
  1. String textId
)

The text for textId in the current locale with fallbacks, or null.

Throws UnregisteredLocaleException if no locale is current.

Implementation

String? getText(String textId) => getTextForLocale(textId, _currentLocale);