trExists method

bool trExists(
  1. String key
)

Implementation

bool trExists(String key) {
  final localization = Localization.of(this);

  if (localization == null) {
    throw const LocalizationNotFoundException();
  }

  return localization.exists(key);
}