ConversationEventDto constructor

const ConversationEventDto({
  1. required String id,
  2. required String conversationId,
  3. required int seq,
  4. required String type,
  5. required DateTime createdAt,
  6. SenderType actorType = SenderType.system,
  7. String? actorId,
  8. Json data = const {},
})

Creates an event.

Implementation

const ConversationEventDto({
  required this.id,
  required this.conversationId,
  required this.seq,
  required this.type,
  required this.createdAt,
  this.actorType = SenderType.system,
  this.actorId,
  this.data = const {},
});