clearTranslations method Null safety

void clearTranslations()

Implementation

void clearTranslations() {
  translations.clear();
}