getText static method

String getText(
  1. String key
)

Gets a text value from the dictionary or returns the default if not found

Implementation

static String getText(String key) {
  return _textDictionary[key] ?? defaultTextDictionary[key] ?? key;
}