pushed new API
							parent
							
								
									357cf4392e
								
							
						
					
					
						commit
						45e868adba
					
				| @ -0,0 +1,77 @@ | ||||
| // To parse this JSON data, do | ||||
| // | ||||
| //     final selectDeviceByImeiRespModel = selectDeviceByImeiRespModelFromJson(jsonString); | ||||
| 
 | ||||
| import 'dart:convert'; | ||||
| 
 | ||||
| Map<String, dynamic> selectDeviceByImeiRespModelFromJson(String str) => Map.from(json.decode(str)).map((k, v) => MapEntry<String, dynamic>(k, v)); | ||||
| 
 | ||||
| String selectDeviceByImeiRespModelToJson(Map<String, dynamic> data) => json.encode(Map.from(data).map((k, v) => MapEntry<String, dynamic>(k, v))); | ||||
| 
 | ||||
| class SelectDeviceByImeiRespModelElement { | ||||
|   int id; | ||||
|   String imei; | ||||
|   int logInType; | ||||
|   int patientId; | ||||
|   bool outSa; | ||||
|   String mobile; | ||||
|   String identificationNo; | ||||
|   String name; | ||||
|   String nameN; | ||||
|   String createdOn; | ||||
|   String editedOn; | ||||
|   bool biometricEnabled; | ||||
|   int patientType; | ||||
|   int preferredLanguage; | ||||
| 
 | ||||
|   SelectDeviceByImeiRespModelElement({ | ||||
|     required this.id, | ||||
|     required this.imei, | ||||
|     required this.logInType, | ||||
|     required this.patientId, | ||||
|     required this.outSa, | ||||
|     required this.mobile, | ||||
|     required this.identificationNo, | ||||
|     required this.name, | ||||
|     required this.nameN, | ||||
|     required this.createdOn, | ||||
|     required this.editedOn, | ||||
|     required this.biometricEnabled, | ||||
|     required this.patientType, | ||||
|     required this.preferredLanguage, | ||||
|   }); | ||||
| 
 | ||||
|   factory SelectDeviceByImeiRespModelElement.fromJson(Map<String, dynamic> json) => SelectDeviceByImeiRespModelElement( | ||||
|     id: json["ID"], | ||||
|     imei: json["IMEI"], | ||||
|     logInType: json["LogInType"], | ||||
|     patientId: json["PatientID"], | ||||
|     outSa: json["OutSA"], | ||||
|     mobile: json["Mobile"], | ||||
|     identificationNo: json["IdentificationNo"], | ||||
|     name: json["Name"], | ||||
|     nameN: json["NameN"], | ||||
|     createdOn: json["CreatedOn"], | ||||
|     editedOn: json["EditedOn"], | ||||
|     biometricEnabled: json["BiometricEnabled"], | ||||
|     patientType: json["PatientType"], | ||||
|     preferredLanguage: json["PreferredLanguage"], | ||||
|   ); | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() => { | ||||
|     "ID": id, | ||||
|     "IMEI": imei, | ||||
|     "LogInType": logInType, | ||||
|     "PatientID": patientId, | ||||
|     "OutSA": outSa, | ||||
|     "Mobile": mobile, | ||||
|     "IdentificationNo": identificationNo, | ||||
|     "Name": name, | ||||
|     "NameN": nameN, | ||||
|     "CreatedOn": createdOn, | ||||
|     "EditedOn": editedOn, | ||||
|     "BiometricEnabled": biometricEnabled, | ||||
|     "PatientType": patientType, | ||||
|     "PreferredLanguage": preferredLanguage, | ||||
|   }; | ||||
| } | ||||
					Loading…
					
					
				
		Reference in New Issue