toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DialogActionType.elicitIntent:
      return 'ElicitIntent';
    case DialogActionType.confirmIntent:
      return 'ConfirmIntent';
    case DialogActionType.elicitSlot:
      return 'ElicitSlot';
    case DialogActionType.close:
      return 'Close';
    case DialogActionType.delegate:
      return 'Delegate';
  }
}