toBotType method
Implementation
BotType toBotType() {
switch (this) {
case 'ChatBot':
return BotType.chatBot;
}
throw Exception('$this is not known in enum BotType');
}
BotType toBotType() {
switch (this) {
case 'ChatBot':
return BotType.chatBot;
}
throw Exception('$this is not known in enum BotType');
}