toRecrawlBehavior method
Implementation
RecrawlBehavior toRecrawlBehavior() {
switch (this) {
case 'CRAWL_EVERYTHING':
return RecrawlBehavior.crawlEverything;
case 'CRAWL_NEW_FOLDERS_ONLY':
return RecrawlBehavior.crawlNewFoldersOnly;
}
throw Exception('$this is not known in enum RecrawlBehavior');
}