ExceptionRuleProperty.fromCrawledProperty constructor
ExceptionRuleProperty.fromCrawledProperty(
- CrawledProperty property
Implementation
factory ExceptionRuleProperty.fromCrawledProperty(CrawledProperty property) {
assert(
property.name.toUpperCase() == "EXRULE",
"Received invalid property: ${property.name}",
);
return ExceptionRuleProperty.fromValue(
RecurrenceRuleValue.fromCrawledStringValue(property.value),
);
}