ChatMessage constructor

ChatMessage({
  1. String? id,
  2. required String text,
  3. required String url,
  4. required String ownerId,
  5. required String ownerName,
  6. required String ownerProfile,
  7. required DateTime createdOn,
})

Implementation

ChatMessage({
  this.id,
  required this.text,
  required this.url,
  required this.ownerId,
  required this.ownerName,
  required this.ownerProfile,
  required this.createdOn,
});