has abstract method
Checks if a translation key exists.
key: The translation key.locale: Locale to check; uses current if null.namespace: Namespace to search in.- Returns: True if the key exists.
Implementation
bool has(String key, {String? locale, String? namespace});