ChatMessage constructor

const ChatMessage({
  1. required MessageKey key,
  2. required String? msgid,
  3. required String sender,
  4. required MessageKind kind,
  5. required String text,
  6. required String? account,
  7. required bool historical,
  8. required bool own,
  9. required String? reply_to,
  10. required Map<String, List<String>> reactions,
  11. required LinkPreview? link_preview,
  12. required bool redacted,
})

Implementation

const ChatMessage({
  required this.key,
  required this.msgid,
  required this.sender,
  required this.kind,
  required this.text,
  required this.account,
  required this.historical,
  required this.own,
  required this.reply_to,
  required this.reactions,
  required this.link_preview,
  required this.redacted,
});