trExists function

bool trExists(
  1. String key, {
  2. BuildContext? context,
})

Implementation

bool trExists(String key, {BuildContext? context}) {
  return context != null
      ? Localization.of(context)!.exists(key)
      : Localization.instance.exists(key);
}