class LabResultList { String filterName = ""; List patientLabResultList = List(); LabResultList({this.filterName, LabResult lab}) { patientLabResultList.add(lab); } } class LabResult { String description; dynamic femaleInterpretativeData; int gender; bool isCertificateAllowed; int lineItemNo; dynamic maleInterpretativeData; dynamic notes; int orderLineItemNo; int orderNo; String packageID; int patientID; String projectID; String referanceRange; String resultValue; int resultValueBasedLineItemNo; String resultValueFlag; String sampleCollectedOn; String sampleReceivedOn; String setupID; dynamic superVerifiedOn; String testCode; String uOM; String verifiedOn; dynamic verifiedOnDateTime; LabResult( {this.description, this.femaleInterpretativeData, this.gender, this.isCertificateAllowed, this.lineItemNo, this.maleInterpretativeData, this.notes, this.orderLineItemNo, this.orderNo, this.packageID, this.patientID, this.projectID, this.referanceRange, this.resultValue, this.resultValueBasedLineItemNo, this.resultValueFlag, this.sampleCollectedOn, this.sampleReceivedOn, this.setupID, this.superVerifiedOn, this.testCode, this.uOM, this.verifiedOn, this.verifiedOnDateTime}); LabResult.fromJson(Map json) { description = json['Description']; femaleInterpretativeData = json['FemaleInterpretativeData']; gender = json['Gender']; isCertificateAllowed = json['IsCertificateAllowed']; lineItemNo = json['LineItemNo']; maleInterpretativeData = json['MaleInterpretativeData']; notes = json['Notes']; orderLineItemNo = json['OrderLineItemNo']; orderNo = json['OrderNo']; packageID = json['PackageID']; patientID = json['PatientID']; projectID = json['ProjectID']; referanceRange = json['ReferanceRange']; resultValue = json['ResultValue']; resultValueBasedLineItemNo = json['ResultValueBasedLineItemNo']; resultValueFlag = json['ResultValueFlag']; sampleCollectedOn = json['SampleCollectedOn']; sampleReceivedOn = json['SampleReceivedOn']; setupID = json['SetupID']; superVerifiedOn = json['SuperVerifiedOn']; testCode = json['TestCode']; uOM = json['UOM']; verifiedOn = json['VerifiedOn']; verifiedOnDateTime = json['VerifiedOnDateTime']; } Map toJson() { final Map data = new Map(); data['Description'] = this.description; data['FemaleInterpretativeData'] = this.femaleInterpretativeData; data['Gender'] = this.gender; data['IsCertificateAllowed'] = this.isCertificateAllowed; data['LineItemNo'] = this.lineItemNo; data['MaleInterpretativeData'] = this.maleInterpretativeData; data['Notes'] = this.notes; data['OrderLineItemNo'] = this.orderLineItemNo; data['OrderNo'] = this.orderNo; data['PackageID'] = this.packageID; data['PatientID'] = this.patientID; data['ProjectID'] = this.projectID; data['ReferanceRange'] = this.referanceRange; data['ResultValue'] = this.resultValue; data['ResultValueBasedLineItemNo'] = this.resultValueBasedLineItemNo; data['ResultValueFlag'] = this.resultValueFlag; data['SampleCollectedOn'] = this.sampleCollectedOn; data['SampleReceivedOn'] = this.sampleReceivedOn; data['SetupID'] = this.setupID; data['SuperVerifiedOn'] = this.superVerifiedOn; data['TestCode'] = this.testCode; data['UOM'] = this.uOM; data['VerifiedOn'] = this.verifiedOn; data['VerifiedOnDateTime'] = this.verifiedOnDateTime; return data; } }