class ExtendSickLeaveRequest { String patientMRN; String previousRequestNo; String noOfDays; String remarks; ExtendSickLeaveRequest( {this.patientMRN, this.previousRequestNo, this.noOfDays, this.remarks}); ExtendSickLeaveRequest.fromJson(Map json) { patientMRN = json['PatientMRN']; previousRequestNo = json['PreviousRequestNo']; noOfDays = json['NoOfDays']; remarks = json['Remarks']; } Map toJson() { final Map data = new Map(); data['PatientMRN'] = this.patientMRN; data['PreviousRequestNo'] = this.previousRequestNo; data['NoOfDays'] = this.noOfDays; data['Remarks'] = this.remarks; return data; } }