translate method

String translate(
  1. String key
)

This method will fetch the translated string

Implementation

String translate(String key) {
  return _anuvadakManager.translate(key) ?? 'Key "$key" not found';
}