translate method
Return the translation of the key provided, otherwise return the fallbackKey (if provided), otherwise return the same key
Implementation
String translate() {
String translation = _translateWithKeyFallback();
if (translationParams != null) {
translation = _replaceParams(translation);
}
return translation;
}