You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PatientApp-KKUMC/lib/models/Authentication/select_device_imei_res.dart

74 lines
2.2 KiB
Dart

class SelectDeviceIMEIRES {
bool? biometricEnabled;
String? createdOn;
String? editedOn;
int? iD;
String? iMEI;
String? identificationNo;
int? logInType;
String? mobile;
String? name;
String? nameN;
bool? outSA;
int? patientID;
int? patientType;
int? preferredLanguage;
SelectDeviceIMEIRES(
{this.biometricEnabled,
this.createdOn,
this.editedOn,
this.iD,
this.iMEI,
this.identificationNo,
this.logInType,
this.mobile,
this.name,
this.nameN,
this.outSA,
this.patientID,
this.patientType,
this.preferredLanguage});
SelectDeviceIMEIRES.fromJson(Map<String, dynamic> json) {
biometricEnabled = json['BiometricEnabled'];
createdOn = json['CreatedOn'].toString();
editedOn = json['EditedOn'].toString();
iD = json['ID'];
iMEI = json['IMEI'];
identificationNo = json['IdentificationNo'].toString();
logInType = json['LogInType'];
mobile = json['Mobile'].toString();
name = json['Name'];
nameN = json['NameN'];
outSA = json['OutSA'];
patientID = json['PatientID'];
patientType = json['PatientType'];
preferredLanguage = json['PreferredLanguage'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = Map<String, dynamic>();
data['BiometricEnabled'] = this.biometricEnabled;
data['CreatedOn'] = this.createdOn;
data['EditedOn'] = this.editedOn;
data['ID'] = this.iD;
data['IMEI'] = this.iMEI;
data['IdentificationNo'] = this.identificationNo;
data['LogInType'] = this.logInType;
data['Mobile'] = this.mobile;
data['Name'] = this.name;
data['NameN'] = this.nameN;
data['OutSA'] = this.outSA;
data['PatientID'] = this.patientID;
data['PatientType'] = this.patientType;
data['PreferredLanguage'] = this.preferredLanguage;
return data;
}
@override
String toString() {
return 'SelectDeviceIMEIRES{biometricEnabled: $biometricEnabled, createdOn: $createdOn, editedOn: $editedOn, iD: $iD, iMEI: $iMEI, identificationNo: $identificationNo, logInType: $logInType, mobile: $mobile, name: $name, nameN: $nameN, outSA: $outSA, patientID: $patientID, patientType: $patientType, preferredLanguage: $preferredLanguage}';
}
}