checkValue method
Implementation
@override
bool checkValue(String targetValue) {
switch (comparator) {
case TextComparator.equal:
return targetValue == value;
case TextComparator.notEqual:
return targetValue != value;
case TextComparator.contains:
return targetValue.contains(value);
case TextComparator.doesNotContain:
return !targetValue.contains(value);
}
}