From 6ff864c4cdcb273bab1018fcaf2a021daa7d45c4 Mon Sep 17 00:00:00 2001 From: devamirsaleemahmad Date: Mon, 16 Oct 2023 11:43:11 +0300 Subject: [PATCH] updates -> 3.13.6 --- .../childvaccines/delete_baby_model.dart | 6 +- .../doctor/patient_doctor_appointment.dart | 6 +- .../model/er/AmbulanceRequestOrdersModel.dart | 18 +- lib/core/model/er/ErPatientShareModel.dart | 6 +- lib/core/model/er/PatientAllPresOrders.dart | 6 +- lib/core/model/er/PatientER.dart | 6 +- lib/core/model/er/PatientER_RC.dart | 12 +- lib/core/model/er/PickUpRequestPresOrder.dart | 6 +- .../model/er/TriageInformationRequest.dart | 18 +- lib/core/model/er/TriageQuestionsModel.dart | 6 +- ..._all_transportation_method_list_model.dart | 6 +- .../model/er/projectavgerwaitingtime.dart | 12 +- .../model/eye/AppoimentAllHistoryResult.dart | 14 +- .../requests/GeoZonesRequestModel.dart | 2 +- .../requests/LogGeoZoneRequestModel.dart | 2 +- .../responses/GeoZonesResponseModel.dart | 24 +- .../responses/LogGeoZoneResponseModel.dart | 14 +- .../get_doctor_by_time_model.dart | 48 ++-- .../get_doctor_by_time_request_model.dart | 32 +-- .../get_doctor_list_calcolation_model.dart | 26 +-- ...doctor_list_calcolation_request_model.dart | 20 +- lib/core/model/hospitals/hospitals_model.dart | 22 +- .../request_get_hospitals_model.dart | 22 +- .../model/insurance/insurance_approval.dart | 220 +++++++++--------- lib/generated/json/base/json_field.dart | 8 +- 25 files changed, 281 insertions(+), 281 deletions(-) diff --git a/lib/core/model/childvaccines/delete_baby_model.dart b/lib/core/model/childvaccines/delete_baby_model.dart index 7015fd8d..4d20bef5 100644 --- a/lib/core/model/childvaccines/delete_baby_model.dart +++ b/lib/core/model/childvaccines/delete_baby_model.dart @@ -34,7 +34,7 @@ class DeleteBaby { this.patientTypeID, this.patientType}); - DeleteBaby.fromJson(Map json) { + DeleteBaby.fromJson(Map json) { isLogin = json['IsLogin']; babyID = json['BabyID']; editedBy = json['EditedBy']; @@ -53,8 +53,8 @@ class DeleteBaby { patientType = json['PatientType']; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['IsLogin'] = this.isLogin; data['BabyID'] = this.babyID; data['EditedBy'] = this.editedBy; diff --git a/lib/core/model/doctor/patient_doctor_appointment.dart b/lib/core/model/doctor/patient_doctor_appointment.dart index 36013c7e..9ee31e04 100644 --- a/lib/core/model/doctor/patient_doctor_appointment.dart +++ b/lib/core/model/doctor/patient_doctor_appointment.dart @@ -152,7 +152,7 @@ class PatientDoctorAppointment { this.qR, this.speciality}); - PatientDoctorAppointment.fromJson(Map json) { + PatientDoctorAppointment.fromJson(Map json) { try { setupID = json['SetupID']; projectID = json['ProjectID']; @@ -233,8 +233,8 @@ class PatientDoctorAppointment { } } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['SetupID'] = this.setupID; data['ProjectID'] = this.projectID; data['AppointmentNo'] = this.appointmentNo; diff --git a/lib/core/model/er/AmbulanceRequestOrdersModel.dart b/lib/core/model/er/AmbulanceRequestOrdersModel.dart index 4eed76f6..31407e44 100644 --- a/lib/core/model/er/AmbulanceRequestOrdersModel.dart +++ b/lib/core/model/er/AmbulanceRequestOrdersModel.dart @@ -106,7 +106,7 @@ class AmbulanceRequestOrdersModel { this.modifiedBy, this.isDeleted}); - AmbulanceRequestOrdersModel.fromJson(Map json) { + AmbulanceRequestOrdersModel.fromJson(Map json) { statusText = json['StatusText']; paymentStatus = json['PaymentStatus']; clientRequestid = json['ClientRequestid']; @@ -165,8 +165,8 @@ class AmbulanceRequestOrdersModel { isDeleted = json['IsDeleted']; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['StatusText'] = this.statusText; data['PaymentStatus'] = this.paymentStatus; data['ClientRequestid'] = this.clientRequestid; @@ -255,7 +255,7 @@ class WFOrder { this.modifiedBy, this.isDeleted}); - WFOrder.fromJson(Map json) { + WFOrder.fromJson(Map json) { wfButtonsDTO = json['wf_ButtonsDTO']; iD = json['ID']; orderId = json['OrderId']; @@ -270,8 +270,8 @@ class WFOrder { isDeleted = json['IsDeleted']; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['wf_ButtonsDTO'] = this.wfButtonsDTO; data['ID'] = this.iD; data['OrderId'] = this.orderId; @@ -314,7 +314,7 @@ class Orderpayment { this.modifiedBy, this.isDeleted}); - Orderpayment.fromJson(Map json) { + Orderpayment.fromJson(Map json) { iD = json['ID']; orderId = json['OrderId']; clientRequestId = json['ClientRequestId']; @@ -328,8 +328,8 @@ class Orderpayment { isDeleted = json['IsDeleted']; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['ID'] = this.iD; data['OrderId'] = this.orderId; data['ClientRequestId'] = this.clientRequestId; diff --git a/lib/core/model/er/ErPatientShareModel.dart b/lib/core/model/er/ErPatientShareModel.dart index d3b42c4a..cf07be7b 100644 --- a/lib/core/model/er/ErPatientShareModel.dart +++ b/lib/core/model/er/ErPatientShareModel.dart @@ -42,7 +42,7 @@ class ErPatientShareModel { this.statusCode, this.subPolicyNo}); - ErPatientShareModel.fromJson(Map json) { + ErPatientShareModel.fromJson(Map json) { cashPrice = json['CashPrice']; cashPriceTax = json['CashPriceTax']; cashPriceWithTax = json['CashPriceWithTax']; @@ -65,8 +65,8 @@ class ErPatientShareModel { subPolicyNo = json['SubPolicyNo']; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['CashPrice'] = this.cashPrice; data['CashPriceTax'] = this.cashPriceTax; data['CashPriceWithTax'] = this.cashPriceWithTax; diff --git a/lib/core/model/er/PatientAllPresOrders.dart b/lib/core/model/er/PatientAllPresOrders.dart index 9ff8223e..59d184d3 100644 --- a/lib/core/model/er/PatientAllPresOrders.dart +++ b/lib/core/model/er/PatientAllPresOrders.dart @@ -62,7 +62,7 @@ class PatientAllPresOrders { this.projectDescription, this.projectDescriptionN}); - PatientAllPresOrders.fromJson(Map json) { + PatientAllPresOrders.fromJson(Map json) { iD = json['ID']; patientID = json['PatientID']; patientOutSA = json['PatientOutSA']; @@ -95,8 +95,8 @@ class PatientAllPresOrders { projectDescriptionN = json['ProjectDescriptionN']; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['ID'] = this.iD; data['PatientID'] = this.patientID; data['PatientOutSA'] = this.patientOutSA; diff --git a/lib/core/model/er/PatientER.dart b/lib/core/model/er/PatientER.dart index b6a5f6eb..f8248956 100644 --- a/lib/core/model/er/PatientER.dart +++ b/lib/core/model/er/PatientER.dart @@ -103,7 +103,7 @@ class PatientER { this.patientERTransportationMethod, this.ambulate}); - PatientER.fromJson(Map json) { + PatientER.fromJson(Map json) { versionID = json['VersionID']; channel = json['Channel']; languageID = json['LanguageID']; @@ -153,8 +153,8 @@ class PatientER { appointmentTime = json['AppointmentTime']; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['VersionID'] = this.versionID; data['Channel'] = this.channel; data['LanguageID'] = this.languageID; diff --git a/lib/core/model/er/PatientER_RC.dart b/lib/core/model/er/PatientER_RC.dart index f0f17cef..cd4d8d5d 100644 --- a/lib/core/model/er/PatientER_RC.dart +++ b/lib/core/model/er/PatientER_RC.dart @@ -43,7 +43,7 @@ class PatientER_RC { this.lineItemNo, this.transportationDetails}); - PatientER_RC.fromJson(Map json) { + PatientER_RC.fromJson(Map json) { versionID = json['VersionID']; channel = json['Channel']; languageID = json['LanguageID']; @@ -67,8 +67,8 @@ class PatientER_RC { : null; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['VersionID'] = this.versionID; data['Channel'] = this.channel; data['LanguageID'] = this.languageID; @@ -146,7 +146,7 @@ class TransportationDetails { this.appointmentBranch, this.appointmentTime}); - TransportationDetails.fromJson(Map json) { + TransportationDetails.fromJson(Map json) { direction = json['direction']; haveAppointment = json['haveAppointment']; tripType = json['tripType']; @@ -173,8 +173,8 @@ class TransportationDetails { appointmentTime = json['appointmentTime']; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['direction'] = this.direction; data['haveAppointment'] = this.haveAppointment; data['tripType'] = this.tripType; diff --git a/lib/core/model/er/PickUpRequestPresOrder.dart b/lib/core/model/er/PickUpRequestPresOrder.dart index 83536047..75f39ea4 100644 --- a/lib/core/model/er/PickUpRequestPresOrder.dart +++ b/lib/core/model/er/PickUpRequestPresOrder.dart @@ -98,7 +98,7 @@ class PickUpRequestPresOrder { this.ambulateDescription, this.ambulateDescriptionN}); - PickUpRequestPresOrder.fromJson(Map json) { + PickUpRequestPresOrder.fromJson(Map json) { id = json['Id']; presOrderID = json['PresOrderID']; createDate = json['CreateDate']; @@ -149,8 +149,8 @@ class PickUpRequestPresOrder { ambulateDescriptionN = json['AmbulateDescriptionN']; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['Id'] = this.id; data['PresOrderID'] = this.presOrderID; data['CreateDate'] = this.createDate; diff --git a/lib/core/model/er/TriageInformationRequest.dart b/lib/core/model/er/TriageInformationRequest.dart index e6b883f8..53d4bfb0 100644 --- a/lib/core/model/er/TriageInformationRequest.dart +++ b/lib/core/model/er/TriageInformationRequest.dart @@ -32,7 +32,7 @@ class TriageInformationRequest { this.eRTriageInformation, this.selectedHospital}); - TriageInformationRequest.fromJson(Map json) { + TriageInformationRequest.fromJson(Map json) { versionID = json['VersionID']; channel = json['Channel']; languageID = json['LanguageID']; @@ -48,8 +48,8 @@ class TriageInformationRequest { eRTriageInformation = json['ERTriageInformation'] != null ? new ERTriageInformation.fromJson(json['ERTriageInformation']) : null; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['VersionID'] = this.versionID; data['Channel'] = this.channel; data['LanguageID'] = this.languageID; @@ -79,7 +79,7 @@ class ERTriageInformation { ERTriageInformation({this.notes, this.chiefComplaint, this.patientId, this.projectId, this.riskScore, this.checklist}); - ERTriageInformation.fromJson(Map json) { + ERTriageInformation.fromJson(Map json) { notes = json['Notes']; chiefComplaint = json['ChiefComplaint']; patientId = json['PatientId']; @@ -93,8 +93,8 @@ class ERTriageInformation { } } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['Notes'] = this.notes; data['ChiefComplaint'] = this.chiefComplaint; data['PatientId'] = this.patientId; @@ -116,7 +116,7 @@ class Checklist { Checklist({this.isSelected, this.parameterCode, this.parameterGroup, this.parameterType, this.score}); - Checklist.fromJson(Map json) { + Checklist.fromJson(Map json) { isSelected = json['IsSelected']; parameterCode = json['ParameterCode']; parameterGroup = json['ParameterGroup']; @@ -124,8 +124,8 @@ class Checklist { score = json['Score']; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['IsSelected'] = this.isSelected; data['ParameterCode'] = this.parameterCode; data['ParameterGroup'] = this.parameterGroup; diff --git a/lib/core/model/er/TriageQuestionsModel.dart b/lib/core/model/er/TriageQuestionsModel.dart index 94a35988..5467cb7d 100644 --- a/lib/core/model/er/TriageQuestionsModel.dart +++ b/lib/core/model/er/TriageQuestionsModel.dart @@ -22,7 +22,7 @@ class TriageQuestionsModel { this.scoreGroup, this.titles}); - TriageQuestionsModel.fromJson(Map json) { + TriageQuestionsModel.fromJson(Map json) { adultPoints = json['AdultPoints']; headerSequence = json['HeaderSequence']; parameterCode = json['ParameterCode']; @@ -35,8 +35,8 @@ class TriageQuestionsModel { titles = json['Titles']; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['AdultPoints'] = this.adultPoints; data['HeaderSequence'] = this.headerSequence; data['ParameterCode'] = this.parameterCode; diff --git a/lib/core/model/er/get_all_transportation_method_list_model.dart b/lib/core/model/er/get_all_transportation_method_list_model.dart index 35086c2f..80c30da9 100644 --- a/lib/core/model/er/get_all_transportation_method_list_model.dart +++ b/lib/core/model/er/get_all_transportation_method_list_model.dart @@ -24,7 +24,7 @@ class PatientERTransportationMethod { this.orderId, this.quantity}); - PatientERTransportationMethod.fromJson(Map json) { + PatientERTransportationMethod.fromJson(Map json) { iD = json['ID']; serviceID = json['ServiceID']; orderServiceID = json['OrderServiceID']; @@ -38,8 +38,8 @@ class PatientERTransportationMethod { quantity = json['Quantity']; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['ID'] = this.iD; data['ServiceID'] = this.serviceID; data['OrderServiceID'] = this.orderServiceID; diff --git a/lib/core/model/er/projectavgerwaitingtime.dart b/lib/core/model/er/projectavgerwaitingtime.dart index 3da5c357..ad78db43 100644 --- a/lib/core/model/er/projectavgerwaitingtime.dart +++ b/lib/core/model/er/projectavgerwaitingtime.dart @@ -22,7 +22,7 @@ class ProjectAvgERWaitingTime { this.projectImageURL, this.projectName}); - ProjectAvgERWaitingTime.fromJson(Map json) { + ProjectAvgERWaitingTime.fromJson(Map json) { iD = json['ID']; projectID = json['ProjectID']; avgTimeInMinutes = json['AvgTimeInMinutes']; @@ -35,8 +35,8 @@ class ProjectAvgERWaitingTime { projectName = json['ProjectName']; } - Map toJson() { - final Map data = new Map(); + Map toJson() { + final Map data = new Map(); data['ID'] = this.iD; data['ProjectID'] = this.projectID; data['AvgTimeInMinutes'] = this.avgTimeInMinutes; @@ -74,7 +74,7 @@ class ProjectAvgERWaitingTime { // this.projectImageURL, // this.projectName}); // -// ProjectAvgERWaitingTime.fromJson(Map json) { +// ProjectAvgERWaitingTime.fromJson(Map json) { // iD = json['ID']; // projectID = json['ProjectID']; // avgTimeInMinutes = json['AvgTimeInMinutes']; @@ -87,8 +87,8 @@ class ProjectAvgERWaitingTime { // projectName = json['ProjectName']; // } // -// Map toJson() { -// final Map data = new Map(); +// Map toJson() { +// final Map data = new Map(); // data['ID'] = this.iD; // data['ProjectID'] = this.projectID; // data['AvgTimeInMinutes'] = this.avgTimeInMinutes; diff --git a/lib/core/model/eye/AppoimentAllHistoryResult.dart b/lib/core/model/eye/AppoimentAllHistoryResult.dart index a4a3b18c..13d53e60 100644 --- a/lib/core/model/eye/AppoimentAllHistoryResult.dart +++ b/lib/core/model/eye/AppoimentAllHistoryResult.dart @@ -137,7 +137,7 @@ class AppoimentAllHistoryResultList { this.isInOutPatient, }); - AppoimentAllHistoryResultList.fromJson(Map json) { + AppoimentAllHistoryResultList.fromJson(Map json) { setupID = json['SetupID']; projectID = json['ProjectID']; appointmentNo = json['AppointmentNo']; @@ -178,7 +178,7 @@ class AppoimentAllHistoryResultList { doctorImageURL = json['DoctorImageURL']; doctorNameObj = json['DoctorNameObj']; doctorRate = json['DoctorRate']; - if (doctorSpeciality != null) doctorSpeciality = json['DoctorSpeciality'].cast(); + if (doctorSpeciality != null) doctorSpeciality = json['DoctorSpeciality'].cast(); doctorTitle = json['DoctorTitle']; gender = json['Gender']; genderDescription = json['GenderDescription']; @@ -221,7 +221,7 @@ class AppoimentAllHistoryResultList { } Map toJson() { - final Map data = new Map(); + final Map data = new Map(); data['SetupID'] = this.setupID; data['ProjectID'] = this.projectID; data['AppointmentNo'] = this.appointmentNo; @@ -349,7 +349,7 @@ class ListHISGetContactLensPerscription { this.isActive, this.createdOn}); - ListHISGetContactLensPerscription.fromJson(Map json) { + ListHISGetContactLensPerscription.fromJson(Map json) { setupId = json['SetupId']; projectId = json['ProjectId']; patientType = json['PatientType']; @@ -371,7 +371,7 @@ class ListHISGetContactLensPerscription { } Map toJson() { - final Map data = new Map(); + final Map data = new Map(); data['SetupId'] = this.setupId; data['ProjectId'] = this.projectId; data['PatientType'] = this.patientType; @@ -444,7 +444,7 @@ class ListHISGetGlassPerscription { this.isActive, this.createdOn}); - ListHISGetGlassPerscription.fromJson(Map json) { + ListHISGetGlassPerscription.fromJson(Map json) { projectID = json['ProjectID']; setupID = json['SetupID']; patientId = json['PatientId']; @@ -471,7 +471,7 @@ class ListHISGetGlassPerscription { } Map toJson() { - final Map data = new Map(); + final Map data = new Map(); data['ProjectID'] = this.projectID; data['SetupID'] = this.setupID; data['PatientId'] = this.patientId; diff --git a/lib/core/model/geofencing/requests/GeoZonesRequestModel.dart b/lib/core/model/geofencing/requests/GeoZonesRequestModel.dart index 219c46ae..265fedde 100644 --- a/lib/core/model/geofencing/requests/GeoZonesRequestModel.dart +++ b/lib/core/model/geofencing/requests/GeoZonesRequestModel.dart @@ -1,5 +1,5 @@ class GeoZonesRequestModel { - final String PatientID; + final String? PatientID; GeoZonesRequestModel({this.PatientID}); diff --git a/lib/core/model/geofencing/requests/LogGeoZoneRequestModel.dart b/lib/core/model/geofencing/requests/LogGeoZoneRequestModel.dart index e21a7d69..abf67a61 100644 --- a/lib/core/model/geofencing/requests/LogGeoZoneRequestModel.dart +++ b/lib/core/model/geofencing/requests/LogGeoZoneRequestModel.dart @@ -4,7 +4,7 @@ class LogGeoZoneRequestModel { final int PointsID; final int GeoType; - LogGeoZoneRequestModel({@required this.PointsID, @required this.GeoType}); + LogGeoZoneRequestModel({required this.PointsID, required this.GeoType}); Map toFlatMap() { return {"PointsID": PointsID.toString(), "GeoType": GeoType.toString()}; diff --git a/lib/core/model/geofencing/responses/GeoZonesResponseModel.dart b/lib/core/model/geofencing/responses/GeoZonesResponseModel.dart index 58771fab..eaf89db5 100644 --- a/lib/core/model/geofencing/responses/GeoZonesResponseModel.dart +++ b/lib/core/model/geofencing/responses/GeoZonesResponseModel.dart @@ -1,27 +1,27 @@ import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart'; import 'package:diplomaticquarterapp/generated/json/base/json_field.dart'; -class GeoZonesResponseModel with JsonConvert { +class GeoZonesResponseModel extends JsonConvert { @JSONField(name: "GEOF_ID") - int geofId; + int? geofId; @JSONField(name: "Description") - String description; + String? description; @JSONField(name: "DescriptionN") - String descriptionN; + String? descriptionN; @JSONField(name: "Latitude") - String latitude; + String? latitude; @JSONField(name: "Longitude") - String longitude; + String? longitude; @JSONField(name: "Radius") - int radius; + int? radius; @JSONField(name: "Type") - int type; + int? type; @JSONField(name: "ProjectID") - int projectID; + int? projectID; @JSONField(name: "ImageURL") - String imageURL; + String? imageURL; @JSONField(name: "IsCity") - bool isCity; + bool? isCity; // Outside Server Response bool isRegistered = false; @@ -29,7 +29,7 @@ class GeoZonesResponseModel with JsonConvert { bool onExit = true; String geofenceId() { - return "$geofId\_${description.replaceAll(" ", "")}"; + return "$geofId\_${description!.replaceAll(" ", "")}"; } static get(String coordinates, int radius, String name) { diff --git a/lib/core/model/geofencing/responses/LogGeoZoneResponseModel.dart b/lib/core/model/geofencing/responses/LogGeoZoneResponseModel.dart index 2242755f..e27633a4 100644 --- a/lib/core/model/geofencing/responses/LogGeoZoneResponseModel.dart +++ b/lib/core/model/geofencing/responses/LogGeoZoneResponseModel.dart @@ -1,26 +1,26 @@ import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart'; import 'package:diplomaticquarterapp/generated/json/base/json_field.dart'; -class LogGeoZoneResponseModel with JsonConvert { +class LogGeoZoneResponseModel extends JsonConvert { @JSONField(name: "LanguageID") - int languageID; + int? languageID; @JSONField(name: "ErrorCode") dynamic errorCode; @JSONField(name: "ErrorEndUserMessage") - String errorEndUserMessage; + String? errorEndUserMessage; @JSONField(name: "ErrorEndUserMessageN") dynamic errorEndUserMessageN; @JSONField(name: "ErrorMessage") dynamic errorMessage; @JSONField(name: "ErrorType") - int errorType; + int? errorType; @JSONField(name: "IsAuthenticated") - bool isAuthenticated; + bool? isAuthenticated; @JSONField(name: "SuccessMsg") dynamic successMsg; @JSONField(name: "SuccessMsgN") dynamic successMsgN; - int statusCode; + int? statusCode; @JSONField(name: "MessageStatus") - int messageStatus; + int? messageStatus; } diff --git a/lib/core/model/health_calcolator/get_doctor_by_time_model.dart b/lib/core/model/health_calcolator/get_doctor_by_time_model.dart index 02c4a6ca..754668c7 100644 --- a/lib/core/model/health_calcolator/get_doctor_by_time_model.dart +++ b/lib/core/model/health_calcolator/get_doctor_by_time_model.dart @@ -1,47 +1,47 @@ class DoctorListByTimeModel { dynamic clinicID; - String clinicName; - String doctorTitle; + String? clinicName; + String? doctorTitle; dynamic iD; - String name; + String? name; dynamic projectID; - String projectName; + String? projectName; dynamic actualDoctorRate; dynamic clinicRoomNo; dynamic date; dynamic dayName; - double decimalDoctorRate; + double? decimalDoctorRate; dynamic doctorAvailability; dynamic doctorID; - String doctorImageURL; + String? doctorImageURL; dynamic doctorProfile; dynamic doctorProfileInfo; dynamic doctorRate; dynamic doctorStarsRate; dynamic gender; - String genderDescription; - bool isAllowWaitList; - bool isAppointmentAllowed; - bool isDoctorAllowVedioCall; - bool isDoctorDummy; - bool isDoctorHasPrePostImages; - bool isLiveCare; - String latitude; - String longitude; - String nationalityFlagURL; - String nationalityID; - String nationalityName; + String? genderDescription; + bool? isAllowWaitList; + bool? isAppointmentAllowed; + bool? isDoctorAllowVedioCall; + bool? isDoctorDummy; + bool? isDoctorHasPrePostImages; + bool? isLiveCare; + String? latitude; + String? longitude; + String? nationalityFlagURL; + String? nationalityID; + String? nationalityName; dynamic nearestFreeSlot; dynamic noOfPatientsRate; dynamic originalClinicID; dynamic personRate; dynamic projectDistanceInKiloMeters; - String qR; + String? qR; dynamic qRString; dynamic rateNumber; dynamic serviceID; - String setupID; - List speciality; + String? setupID; + List? speciality; dynamic workingHours; DoctorListByTimeModel( @@ -188,11 +188,11 @@ class DoctorListByTimeModel { } class DoctorsListTime { - List doctorsByTimeList = List(); + List doctorsByTimeList = []; String filterName = ""; - DoctorsListTime({filterName, DoctorListByTimeModel doctor}) { - doctorsByTimeList.add(doctor); + DoctorsListTime({filterName, DoctorListByTimeModel? doctor}) { + doctorsByTimeList.add(doctor!); this.filterName = filterName; } } diff --git a/lib/core/model/health_calcolator/get_doctor_by_time_request_model.dart b/lib/core/model/health_calcolator/get_doctor_by_time_request_model.dart index cf9b2004..98c1c3d0 100644 --- a/lib/core/model/health_calcolator/get_doctor_by_time_request_model.dart +++ b/lib/core/model/health_calcolator/get_doctor_by_time_request_model.dart @@ -1,21 +1,21 @@ class DoctorListByTimeRequestModel { - int clinicID; - bool isGetNearAppointment; - bool continueDentalPlan; - bool isSearchAppointmnetByClinicID; - int patientID; - int latitude; - int longitude; - bool license; - double versionID; - int channel; - int languageID; - String iPAdress; - String generalid; - int patientOutSA; + int? clinicID; + bool? isGetNearAppointment; + bool? continueDentalPlan; + bool? isSearchAppointmnetByClinicID; + int? patientID; + int? latitude; + int? longitude; + bool? license; + double? versionID; + int? channel; + int? languageID; + String? iPAdress; + String? generalid; + int? patientOutSA; dynamic sessionID; - bool isDentalAllowedBackend; - int deviceTypeID; + bool? isDentalAllowedBackend; + int? deviceTypeID; DoctorListByTimeRequestModel( {this.clinicID, diff --git a/lib/core/model/health_calcolator/get_doctor_list_calcolation_model.dart b/lib/core/model/health_calcolator/get_doctor_list_calcolation_model.dart index 409cab60..22c5b37f 100644 --- a/lib/core/model/health_calcolator/get_doctor_list_calcolation_model.dart +++ b/lib/core/model/health_calcolator/get_doctor_list_calcolation_model.dart @@ -1,17 +1,17 @@ class GetDoctorListModel { - int calcID; - int projectID; - int clinicID; - String clinicName; - int doctorID; - String doctorImageURL; - String doctorName; - String doctorTitle; - int gender; - String genderDescription; - String nationality; - String nationalityFlagURL; - String projectName; + int? calcID; + int? projectID; + int? clinicID; + String? clinicName; + int? doctorID; + String? doctorImageURL; + String? doctorName; + String? doctorTitle; + int? gender; + String? genderDescription; + String? nationality; + String? nationalityFlagURL; + String? projectName; GetDoctorListModel( {this.calcID, diff --git a/lib/core/model/health_calcolator/get_doctor_list_calcolation_request_model.dart b/lib/core/model/health_calcolator/get_doctor_list_calcolation_request_model.dart index 80002341..25be36a4 100644 --- a/lib/core/model/health_calcolator/get_doctor_list_calcolation_request_model.dart +++ b/lib/core/model/health_calcolator/get_doctor_list_calcolation_request_model.dart @@ -1,14 +1,14 @@ class GetDoctorListRequestModel { - int calculationID; - double versionID; - int channel; - int languageID; - String iPAdress; - String generalid; - int patientOutSA; - String sessionID; - bool isDentalAllowedBackend; - int deviceTypeID; + int? calculationID; + double? versionID; + int? channel; + int? languageID; + String? iPAdress; + String? generalid; + int? patientOutSA; + String? sessionID; + bool? isDentalAllowedBackend; + int? deviceTypeID; GetDoctorListRequestModel( {this.calculationID, diff --git a/lib/core/model/hospitals/hospitals_model.dart b/lib/core/model/hospitals/hospitals_model.dart index 43e2e50b..56a70511 100644 --- a/lib/core/model/hospitals/hospitals_model.dart +++ b/lib/core/model/hospitals/hospitals_model.dart @@ -1,20 +1,20 @@ class HospitalsModel { - String desciption; + String? desciption; dynamic desciptionN; dynamic iD; - String legalName; - String legalNameN; - String name; + String? legalName; + String? legalNameN; + String? name; dynamic nameN; - String phoneNumber; - String setupID; + String? phoneNumber; + String? setupID; dynamic distanceInKilometers; - bool isActive; - String latitude; - String longitude; + bool? isActive; + String? latitude; + String? longitude; dynamic mainProjectID; - bool projectOutSA; - bool usingInDoctorApp; + bool? projectOutSA; + bool? usingInDoctorApp; HospitalsModel( {this.desciption, diff --git a/lib/core/model/hospitals/request_get_hospitals_model.dart b/lib/core/model/hospitals/request_get_hospitals_model.dart index be163654..9c0b8842 100644 --- a/lib/core/model/hospitals/request_get_hospitals_model.dart +++ b/lib/core/model/hospitals/request_get_hospitals_model.dart @@ -1,15 +1,15 @@ class RequestGetHospitalsModel { - int latitude; - int longitude; - double versionID; - int channel; - int languageID; - String iPAdress; - String generalid; - int patientOutSA; - String sessionID; - bool isDentalAllowedBackend; - int deviceTypeID; + int? latitude; + int? longitude; + double? versionID; + int? channel; + int? languageID; + String? iPAdress; + String? generalid; + int? patientOutSA; + String? sessionID; + bool? isDentalAllowedBackend; + int? deviceTypeID; RequestGetHospitalsModel( {this.latitude, diff --git a/lib/core/model/insurance/insurance_approval.dart b/lib/core/model/insurance/insurance_approval.dart index 52100514..df8102bd 100644 --- a/lib/core/model/insurance/insurance_approval.dart +++ b/lib/core/model/insurance/insurance_approval.dart @@ -1,84 +1,84 @@ class InsuranceApprovalModel { - String setupID; - int projectID; - int approvalNo; - String approvalDate; - int patientType; - int patientID; - int companyID; - int subCategoryID; - int doctorID; - int clinicID; - int approvalType; - String inpatientApprovalSubType; - String validFrom; - String vaildDays; - String validTo; - bool isApprovalOnGross; - bool isPackage; - int requestedAmount; - int actualApprovedAmount; - int aviliableAmount; - String companyApprovalNo; - int progNoteOrderNo; - String submitOn; - String receiptOn; - String remarks1; - String remarks2; - int status; - String feedbackStatusBy; - String feedbackStatus; - String feedbackStatusOn; - int authorizerID; - String expiryDate; - int appointmentNo; - int admissionNo; - int admissionRequestNo; - int createdBy; - String createdOn; - int editedBy; - String editedOn; - String rowVer; - bool isAddlDiscApplied; - int inProgressReasonID; - String extendedBy; - String extendedOn; - int subPolicyNo; - int noOrderAuthorizerID; - bool isVerbalApproval; - String subStatus; - bool isNotificationSend; - String eApprovalStatus; - String eApprovalRemarks; - bool isEmailSentOnDelayApproval; - int eAuthorizationID; - InsuranceApprovalDetails apporvalDetails; - String approvalStatusDescption; - String clinicName; - String clinicNameN; - String companyName; - String doctorImageURL; - String doctorName; - String doctorNameN; - int doctorRate; - String doctorTitle; - int gender; - String genderDescription; - bool isActiveDoctorProfile; - bool isExecludeDoctor; - bool isInOutPatient; - String isInOutPatientDescription; - String isInOutPatientDescriptionN; - bool isLiveCareAppointment; - String projectName; - String projectNameN; - String qR; - List speciality; - String strApprovalDate; - String strExpiryDate; - String strSubmitDate; - int totaUnUsedCount; - int unUsedCount; + String? setupID; + int? projectID; + int? approvalNo; + String? approvalDate; + int? patientType; + int? patientID; + int? companyID; + int? subCategoryID; + int? doctorID; + int? clinicID; + int? approvalType; + String? inpatientApprovalSubType; + String? validFrom; + String? vaildDays; + String? validTo; + bool? isApprovalOnGross; + bool? isPackage; + int? requestedAmount; + int? actualApprovedAmount; + int? aviliableAmount; + String? companyApprovalNo; + int? progNoteOrderNo; + String? submitOn; + String? receiptOn; + String? remarks1; + String? remarks2; + int? status; + String? feedbackStatusBy; + String? feedbackStatus; + String? feedbackStatusOn; + int? authorizerID; + String? expiryDate; + int? appointmentNo; + int? admissionNo; + int? admissionRequestNo; + int? createdBy; + String? createdOn; + int? editedBy; + String? editedOn; + String? rowVer; + bool? isAddlDiscApplied; + int? inProgressReasonID; + String? extendedBy; + String? extendedOn; + int? subPolicyNo; + int? noOrderAuthorizerID; + bool? isVerbalApproval; + String? subStatus; + bool? isNotificationSend; + String? eApprovalStatus; + String? eApprovalRemarks; + bool? isEmailSentOnDelayApproval; + int? eAuthorizationID; + InsuranceApprovalDetails? apporvalDetails; + String? approvalStatusDescption; + String? clinicName; + String? clinicNameN; + String? companyName; + String? doctorImageURL; + String? doctorName; + String? doctorNameN; + int? doctorRate; + String? doctorTitle; + int? gender; + String? genderDescription; + bool? isActiveDoctorProfile; + bool? isExecludeDoctor; + bool? isInOutPatient; + String? isInOutPatientDescription; + String? isInOutPatientDescriptionN; + bool? isLiveCareAppointment; + String? projectName; + String? projectNameN; + String? qR; + List? speciality; + String? strApprovalDate; + String? strExpiryDate; + String? strSubmitDate; + int? totaUnUsedCount; + int? unUsedCount; InsuranceApprovalModel( {this.setupID, @@ -303,7 +303,7 @@ class InsuranceApprovalModel { data['IsEmailSentOnDelayApproval'] = this.isEmailSentOnDelayApproval; data['EAuthorizationID'] = this.eAuthorizationID; if (this.apporvalDetails != null) { - data['ApporvalDetails'] = this.apporvalDetails.toJson; + data['ApporvalDetails'] = this.apporvalDetails!.toJson; } data['ApprovalStatusDescption'] = this.approvalStatusDescption; data['ClinicName'] = this.clinicName; @@ -336,35 +336,35 @@ class InsuranceApprovalModel { } class InsuranceApprovalDetails { - int setupID; - int projectID; - int approvalNo; - int lineItemNo; - int orderType; - int procedureID; - int toothNo; - int price; - int approvedAmount; - String unapprovedPatientShare; - int waivedAmount; - String discountType; - int discountValue; - String shareType; - String patientShareTypeValue; - String companyShareTypeValue; - String patientShare; - String companyShare; - int deductableAmount; - String disapprovedRemarks; - int progNoteOrderNo; - int progNoteLineItemNo; - String invoiceTransactionType; - int invoiceNo; - String procedureName; - String procedureNameN; - String status; - bool isInvoiced; - String isInvoicedDesc; + int? setupID; + int? projectID; + int? approvalNo; + int? lineItemNo; + int? orderType; + int? procedureID; + int? toothNo; + int? price; + int? approvedAmount; + String? unapprovedPatientShare; + int? waivedAmount; + String? discountType; + int? discountValue; + String? shareType; + String? patientShareTypeValue; + String? companyShareTypeValue; + String? patientShare; + String? companyShare; + int? deductableAmount; + String? disapprovedRemarks; + int? progNoteOrderNo; + int? progNoteLineItemNo; + String? invoiceTransactionType; + int? invoiceNo; + String? procedureName; + String? procedureNameN; + String? status; + bool? isInvoiced; + String? isInvoicedDesc; InsuranceApprovalDetails( {this.setupID, diff --git a/lib/generated/json/base/json_field.dart b/lib/generated/json/base/json_field.dart index bc92972b..32632862 100644 --- a/lib/generated/json/base/json_field.dart +++ b/lib/generated/json/base/json_field.dart @@ -6,16 +6,16 @@ class JSONField { //Specify the parse field name - final String name; + final String? name; //Specify the time resolution format - final String format; + final String? format; //Whether to participate in toJson - final bool serialize; + final bool? serialize; //Whether to participate in fromMap - final bool deserialize; + final bool? deserialize; const JSONField({this.name, this.format, this.serialize, this.deserialize}); }