ChannelEvent constructor

const ChannelEvent({
  1. required String id,
  2. required ConversationKey conversation,
  3. required String type,
  4. String? text,
  5. String? userId,
  6. String? userName,
  7. required DateTime timestamp,
  8. List<ChannelAttachment>? attachments,
  9. Map<String, dynamic>? metadata,
})

Implementation

const ChannelEvent({
  required this.id,
  required this.conversation,
  required this.type,
  this.text,
  this.userId,
  this.userName,
  required this.timestamp,
  this.attachments,
  this.metadata,
});