translate method
Implementation
String translate(var key) {
dynamic value = _localizedValues;
for (int i = 0; i < key.length; i++) {
value = value[key[i]];
}
return value ?? key.last;
}
String translate(var key) {
dynamic value = _localizedValues;
for (int i = 0; i < key.length; i++) {
value = value[key[i]];
}
return value ?? key.last;
}