removeTranslation method
Removes a translation resource by its name.
This method finds the specified SupportedTranslation within the current locale's translations and initiates its removal.
name
The unique name of the translation to be removed.
Implementation
void removeTranslation(String name) {
var translation = locManager.supportedLocales
.firstWhere((l) => l.locale == locManager.currentLocale)
.translations
.firstWhere((t) => t.name == name);
locManager.removeTranslation(this, translation);
}