translate method

String? translate(
  1. String? key
)

Implementation

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