class ErPatientShareModel { int cashPrice; int cashPriceTax; int cashPriceWithTax; int companyId; String companyName; int companyShareWithTax; dynamic errCode; int groupID; dynamic insurancePolicyNo; String message; dynamic patientCardID; double patientShare; double patientShareWithTax; double patientTaxAmount; int policyId; String policyName; String procedureName; dynamic setupID; int statusCode; dynamic subPolicyNo; ErPatientShareModel( {this.cashPrice, this.cashPriceTax, this.cashPriceWithTax, this.companyId, this.companyName, this.companyShareWithTax, this.errCode, this.groupID, this.insurancePolicyNo, this.message, this.patientCardID, this.patientShare, this.patientShareWithTax, this.patientTaxAmount, this.policyId, this.policyName, this.procedureName, this.setupID, this.statusCode, this.subPolicyNo}); ErPatientShareModel.fromJson(Map json) { cashPrice = json['CashPrice']; cashPriceTax = json['CashPriceTax']; cashPriceWithTax = json['CashPriceWithTax']; companyId = json['CompanyId']; companyName = json['CompanyName']; companyShareWithTax = json['CompanyShareWithTax']; errCode = json['ErrCode']; groupID = json['GroupID']; insurancePolicyNo = json['InsurancePolicyNo']; message = json['Message']; patientCardID = json['PatientCardID']; patientShare = json['PatientShare']; patientShareWithTax = json['PatientShareWithTax']; patientTaxAmount = json['PatientTaxAmount']; policyId = json['PolicyId']; policyName = json['PolicyName']; procedureName = json['ProcedureName']; setupID = json['SetupID']; statusCode = json['StatusCode']; subPolicyNo = json['SubPolicyNo']; } Map toJson() { final Map data = new Map(); data['CashPrice'] = this.cashPrice; data['CashPriceTax'] = this.cashPriceTax; data['CashPriceWithTax'] = this.cashPriceWithTax; data['CompanyId'] = this.companyId; data['CompanyName'] = this.companyName; data['CompanyShareWithTax'] = this.companyShareWithTax; data['ErrCode'] = this.errCode; data['GroupID'] = this.groupID; data['InsurancePolicyNo'] = this.insurancePolicyNo; data['Message'] = this.message; data['PatientCardID'] = this.patientCardID; data['PatientShare'] = this.patientShare; data['PatientShareWithTax'] = this.patientShareWithTax; data['PatientTaxAmount'] = this.patientTaxAmount; data['PolicyId'] = this.policyId; data['PolicyName'] = this.policyName; data['ProcedureName'] = this.procedureName; data['SetupID'] = this.setupID; data['StatusCode'] = this.statusCode; data['SubPolicyNo'] = this.subPolicyNo; return data; } }