addUncountableRule method
void
addUncountableRule(
- dynamic word
Add an uncountable word rule.
Implementation
void addUncountableRule(dynamic word) {
if (word is String) {
_uncountables[word.toLowerCase()] = true;
return;
}
// Set singular and plural references for the word.
addPluralRule(word, r'$0');
addSingularRule(word, r'$0');
}