RepeatCountProperty.fromCrawledProperty constructor
RepeatCountProperty.fromCrawledProperty(
- CrawledProperty property
Implementation
factory RepeatCountProperty.fromCrawledProperty(CrawledProperty property) {
assert(
property.name.toUpperCase() == "REPEAT",
"Received invalid property: ${property.name}",
);
return RepeatCountProperty(
IntegerValue.fromCrawledStringValue(property.value).value,
);
}