Message constructor

const Message({
  1. required User author,
  2. int? createdAt,
  3. required String id,
  4. Map<String, dynamic>? metadata,
  5. String? remoteId,
  6. Message? repliedMessage,
  7. String? roomId,
  8. bool? showStatus,
  9. Status? status,
  10. required MessageType type,
  11. int? updatedAt,
})

Implementation

const Message({
  required this.author,
  this.createdAt,
  required this.id,
  this.metadata,
  this.remoteId,
  this.repliedMessage,
  this.roomId,
  this.showStatus,
  this.status,
  required this.type,
  this.updatedAt,
});