toBotType method

BotType toBotType()

Implementation

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