family screen & widgets
							parent
							
								
									e48e98d61b
								
							
						
					
					
						commit
						192d617350
					
				| @ -0,0 +1,57 @@ | |||||||
|  | import 'dart:convert'; | ||||||
|  | 
 | ||||||
|  | class FamilyFileRequest { | ||||||
|  |   int? sharedPatientId; | ||||||
|  |   String? sharedPatientIdentificationId; | ||||||
|  |   int? searchType; | ||||||
|  |   String? sharedPatientMobileNumber; | ||||||
|  |   String? zipCode; | ||||||
|  |   bool? isRegister; | ||||||
|  |   int? patientStatus; | ||||||
|  |   bool? isDentalAllowedBackend; | ||||||
|  |   bool? isPatientExcluded; | ||||||
|  |   int? responseID; | ||||||
|  | 
 | ||||||
|  |   FamilyFileRequest({ | ||||||
|  |     this.sharedPatientId, | ||||||
|  |     this.sharedPatientIdentificationId, | ||||||
|  |     this.searchType, | ||||||
|  |     this.sharedPatientMobileNumber, | ||||||
|  |     this.zipCode, | ||||||
|  |     this.isRegister, | ||||||
|  |     this.patientStatus, | ||||||
|  |     this.isDentalAllowedBackend, | ||||||
|  |     this.isPatientExcluded, | ||||||
|  |     this.responseID, | ||||||
|  |   }); | ||||||
|  | 
 | ||||||
|  |   factory FamilyFileRequest.fromRawJson(String str) => FamilyFileRequest.fromJson(json.decode(str)); | ||||||
|  | 
 | ||||||
|  |   String toRawJson() => json.encode(toJson()); | ||||||
|  | 
 | ||||||
|  |   factory FamilyFileRequest.fromJson(Map<String, dynamic> json) => FamilyFileRequest( | ||||||
|  |         sharedPatientId: json["sharedPatientID"], | ||||||
|  |         sharedPatientIdentificationId: json["sharedPatientIdentificationID"], | ||||||
|  |         searchType: json["searchType"], | ||||||
|  |         sharedPatientMobileNumber: json["sharedPatientMobileNumber"], | ||||||
|  |         zipCode: json["zipCode"], | ||||||
|  |         isRegister: json["isRegister"], | ||||||
|  |         patientStatus: json["patientStatus"], | ||||||
|  |         isDentalAllowedBackend: json["isDentalAllowedBackend"], | ||||||
|  |         isPatientExcluded: json["IsPatientExcluded"], | ||||||
|  |         responseID: json["ReponseID"], | ||||||
|  |       ); | ||||||
|  | 
 | ||||||
|  |   Map<String, dynamic> toJson() => { | ||||||
|  |         "SharedPatientID": sharedPatientId, | ||||||
|  |         "SharedPatientIdentificationID": sharedPatientIdentificationId, | ||||||
|  |         "SearchType": searchType, | ||||||
|  |         "SharedPatientMobileNumber": sharedPatientMobileNumber, | ||||||
|  |         "zipCode": zipCode, | ||||||
|  |         "isRegister": isRegister, | ||||||
|  |         "PatientStatus": patientStatus, | ||||||
|  |         "isDentalAllowedBackend": isDentalAllowedBackend, | ||||||
|  |         "IsPatientExcluded": isPatientExcluded, | ||||||
|  |         "ReponseID": responseID, | ||||||
|  |       }; | ||||||
|  | } | ||||||
					Loading…
					
					
				
		Reference in New Issue