ChatHistory.fromJson constructor
Implementation
ChatHistory.fromJson(Map<String, dynamic> json){
id = json['id'];
consultationId = json['consultation_id'];
data = json['data'] != null ? List.from(json['data']).map((e)=>Data.fromJson(e)).toList() : null ;
createdAt = json['created_at'];
updatedAt = null;
}