ChatBotMessage constructor

const ChatBotMessage({
  1. required int id,
  2. required int index,
  3. required ChatBotMessageType type,
  4. required ChatBotMessageSender sender,
  5. required String key,
  6. String? title,
  7. String? text,
  8. String? icon,
  9. ChatBotMessageMeta meta = const ChatBotMessageMeta.defaults(),
  10. List<ChatBotMessageOption> options = const [],
})

Implementation

const ChatBotMessage({
  required this.id,
  required this.index,
  required this.type,
  required this.sender,
  required this.key,
  this.title,
  this.text,
  this.icon,
  this.meta = const ChatBotMessageMeta.defaults(),
  this.options = const [],
});