trans method

String? trans(
  1. String key
)

Translate strings with the key used in the .json file.

Implementation

String? trans(String key) {
  return _localizedStrings[key];
}