addInflectionRule method Null safety

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

Implementation

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