Chat.fromJson constructor
Implementation
Chat.fromJson(Map<String, dynamic> json) {
id = json['id'];
conversationId = json['conversation_id'];
senderId = json['sender_id'];
message = json['message'];
profileImage = json['profileImage'];
file = json['file'];
createdAt = json['created_at'];
name = json['name'];
status = json['status'];
}