toValue method
Implementation
String toValue() {
switch (this) {
case NodeType.crawler:
return 'CRAWLER';
case NodeType.job:
return 'JOB';
case NodeType.trigger:
return 'TRIGGER';
}
}
String toValue() {
switch (this) {
case NodeType.crawler:
return 'CRAWLER';
case NodeType.job:
return 'JOB';
case NodeType.trigger:
return 'TRIGGER';
}
}