canTranslate method

bool canTranslate(
  1. String key
)

Can this key be translated by this localization?

Implementation

bool canTranslate(String key) => translations.containsKey(key);