XHHighlightMatchCore constructor
XHHighlightMatchCore({
- required List<
XHHighlightMatch> matchList, - required XHHighlightMatch unMatch,
构造方法
Implementation
XHHighlightMatchCore({required this.matchList, required this.unMatch}) {
for (XHHighlightMatch item in matchList) {
if (item.matchReg() != null) {
_toMatchMap.putIfAbsent(item.matchType, () => item);
}
}
}