addInflectionRule method

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

Implementation

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