toValue method

String toValue()

Implementation

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