class ProcedureModel { int patientShare; int patientShareWithTax; int patientTaxAmount; String procedureID; String procedureName; bool isSelected; ProcedureModel({this.patientShare, this.patientShareWithTax, this.patientTaxAmount, this.procedureID, this.procedureName}); ProcedureModel.fromJson(Map json) { patientShare = json['PatientShare']; patientShareWithTax = json['PatientShareWithTax']; patientTaxAmount = json['PatientTaxAmount']; procedureID = json['ProcedureID']; procedureName = json['ProcedureName']; isSelected = json['isSelected']; } Map toJson() { final Map data = new Map(); data['PatientShare'] = this.patientShare; data['PatientShareWithTax'] = this.patientShareWithTax; data['PatientTaxAmount'] = this.patientTaxAmount; data['ProcedureID'] = this.procedureID; data['ProcedureName'] = this.procedureName; data['isSelected'] = this.isSelected; return data; } }