addInflectionRule method

void addInflectionRule(
  1. String singular,
  2. dynamic plural
)

Implementation

void addInflectionRule(String singular, dynamic plural) {
  _inflectionRules.add([new RegExp(singular, caseSensitive: false), plural]);
}