get method
Gets the raw translation value without parameter replacement.
key: The translation key.locale: Override locale.namespace: Namespace to search in.- Returns: The raw translation string or key if not found.
Implementation
@override
String? get(String key, {String? locale, String? namespace}) {
final loc = locale ?? _currentLocale;
final ns = namespace ?? '';
return _getTranslation(key, loc, ns) ??
_getTranslation(key, loc, '') ??
(loc != _fallbackLocale
? (_getTranslation(key, _fallbackLocale, ns) ??
_getTranslation(key, _fallbackLocale, ''))
: null);
}