allMentionWords property

set allMentionWords (AllMentionWords mapping)

Implementation

set allMentionWords(AllMentionWords mapping) {
  _allMentionWords = mapping;

  _pattern = "(${mapping.keys.map((key) => RegExp.escape(key)).join('|')})";
}