operator [] method

String operator [](
  1. String key
)

Gets the localized value by the default locale

Implementation

String operator [](String key) => getLocalizationByLocale(key, _getLocale());