toCrawlerState method
Implementation
CrawlerState toCrawlerState() {
switch (this) {
case 'READY':
return CrawlerState.ready;
case 'RUNNING':
return CrawlerState.running;
case 'STOPPING':
return CrawlerState.stopping;
}
throw Exception('$this is not known in enum CrawlerState');
}