toValue method
Implementation
String toValue() {
switch (this) {
case CrawlerState.ready:
return 'READY';
case CrawlerState.running:
return 'RUNNING';
case CrawlerState.stopping:
return 'STOPPING';
}
}
String toValue() {
switch (this) {
case CrawlerState.ready:
return 'READY';
case CrawlerState.running:
return 'RUNNING';
case CrawlerState.stopping:
return 'STOPPING';
}
}