Chat constructor

Chat({
  1. int? id,
  2. int? conversationId,
  3. int? senderId,
  4. String? message,
  5. String? profileImage,
  6. String? file,
  7. String? createdAt,
  8. String? name,
  9. int? status,
})

Implementation

Chat(
    {this.id,
    this.conversationId,
    this.senderId,
    this.message,
    this.profileImage,
    this.file,
    this.createdAt,
    this.name,
    this.status});