toDialogActionType method
Implementation
DialogActionType toDialogActionType() {
switch (this) {
case 'ElicitIntent':
return DialogActionType.elicitIntent;
case 'ConfirmIntent':
return DialogActionType.confirmIntent;
case 'ElicitSlot':
return DialogActionType.elicitSlot;
case 'Close':
return DialogActionType.close;
case 'Delegate':
return DialogActionType.delegate;
}
throw Exception('$this is not known in enum DialogActionType');
}