class crmDashboardFollowUpResponse { String? error; List? followupLists; String? message; int? sessionExists; crmDashboardFollowUpResponse( {this.error, this.followupLists, this.message, this.sessionExists}); crmDashboardFollowUpResponse.fromJson(Map json) { error = json['error']; if (json['followup_lists'] != null) { followupLists = []; json['followup_lists'].forEach((v) { followupLists!.add(new FollowupLists.fromJson(v)); }); } message = json['message']; sessionExists = json['session_exists']; } Map toJson() { final Map data = new Map(); data['error'] = this.error; if (this.followupLists != null) { data['followup_lists'] = this.followupLists!.map((v) => v.toJson()).toList(); } data['message'] = this.message; data['session_exists'] = this.sessionExists; return data; } } class FollowupLists { String? aname; String? appdate; String? atype; String? anote; String? leadid; String? lstatus; String? lempid; String? aid; FollowupLists( {this.aname, this.appdate, this.atype, this.anote, this.leadid, this.lstatus, this.lempid, this.aid}); FollowupLists.fromJson(Map json) { aname = json['aname']; appdate = json['appdate']; atype = json['atype']; anote = json['anote']; leadid = json['leadid']; lstatus = json['lstatus']; lempid = json['lempid']; aid = json['aid']; } Map toJson() { final Map data = new Map(); data['aname'] = this.aname; data['appdate'] = this.appdate; data['atype'] = this.atype; data['anote'] = this.anote; data['leadid'] = this.leadid; data['lstatus'] = this.lstatus; data['lempid'] = this.lempid; data['aid'] = this.aid; return data; } }