clearCustomErrorTranslations method

void clearCustomErrorTranslations(
  1. String locale
)

Clears all custom translations for a specific locale.

Usage:

localizations.clearCustomErrorTranslations('fr');

Implementation

void clearCustomErrorTranslations(String locale) {
  _customTranslations.remove(locale);
}