toValue method
Implementation
String toValue() {
switch (this) {
case ResourceType.bot:
return 'BOT';
case ResourceType.intent:
return 'INTENT';
case ResourceType.slotType:
return 'SLOT_TYPE';
}
}
String toValue() {
switch (this) {
case ResourceType.bot:
return 'BOT';
case ResourceType.intent:
return 'INTENT';
case ResourceType.slotType:
return 'SLOT_TYPE';
}
}