localization method

String localization(
  1. String key
)

Implementation

String localization(String key) {
  return Localization().localizationMap[key] ?? key;
}