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.
mohemm-flutter-app/lib/models/check_mobile_app_version_mo...

192 lines
6.5 KiB
Dart

class CheckMobileAppVersionModel {
String? date;
int? languageID;
int? serviceName;
String? time;
String? androidLink;
String? authenticationTokenID;
String? data;
bool? dataw;
int? dietType;
int? dietTypeID;
int? errorCode;
String? errorEndUserMessage;
String? errorEndUserMessageN;
String? errorMessage;
int? errorType;
int? foodCategory;
String? iOSLink;
bool? isAuthenticated;
int? mealOrderStatus;
int? mealType;
int? messageStatus;
int? numberOfResultRecords;
String? patientBlodType;
String? successMsg;
String? successMsgN;
String? vidaUpdatedResponse;
String? encryprURL;
bool? kioskHelp;
List<Null>? listRssItems;
List<Null>? listKioskFingerPrint;
List<Null>? listKioskFingerPrintGetByID;
List<Null>? listKioskGetLastTransaction;
List<Null>? listRegKioskFingerPrint;
String? message;
String? ramadanTimeObj;
String? habibTwitterList;
CheckMobileAppVersionModel(
{this.date,
this.languageID,
this.serviceName,
this.time,
this.androidLink,
this.authenticationTokenID,
this.data,
this.dataw,
this.dietType,
this.dietTypeID,
this.errorCode,
this.errorEndUserMessage,
this.errorEndUserMessageN,
this.errorMessage,
this.errorType,
this.foodCategory,
this.iOSLink,
this.isAuthenticated,
this.mealOrderStatus,
this.mealType,
this.messageStatus,
this.numberOfResultRecords,
this.patientBlodType,
this.successMsg,
this.successMsgN,
this.vidaUpdatedResponse,
this.encryprURL,
this.kioskHelp,
this.listRssItems,
this.listKioskFingerPrint,
this.listKioskFingerPrintGetByID,
this.listKioskGetLastTransaction,
this.listRegKioskFingerPrint,
this.message,
this.ramadanTimeObj,
this.habibTwitterList});
CheckMobileAppVersionModel.fromJson(Map<String, dynamic> json) {
date = json['Date'];
languageID = json['LanguageID'];
serviceName = json['ServiceName'];
time = json['Time'];
androidLink = json['AndroidLink'];
authenticationTokenID = json['AuthenticationTokenID'];
data = json['Data'];
dataw = json['Dataw'];
dietType = json['DietType'];
dietTypeID = json['DietTypeID'];
errorCode = json['ErrorCode'];
errorEndUserMessage = json['ErrorEndUserMessage'];
errorEndUserMessageN = json['ErrorEndUserMessageN'];
errorMessage = json['ErrorMessage'];
errorType = json['ErrorType'];
foodCategory = json['FoodCategory'];
iOSLink = json['IOSLink'];
isAuthenticated = json['IsAuthenticated'];
mealOrderStatus = json['MealOrderStatus'];
mealType = json['MealType'];
messageStatus = json['MessageStatus'];
numberOfResultRecords = json['NumberOfResultRecords'];
patientBlodType = json['PatientBlodType'];
successMsg = json['SuccessMsg'];
successMsgN = json['SuccessMsgN'];
vidaUpdatedResponse = json['VidaUpdatedResponse'];
encryprURL = json['EncryprURL'];
kioskHelp = json['KioskHelp'];
if (json['ListRssItems'] != null) {
listRssItems = <Null>[];
json['ListRssItems'].forEach((v) {
//listRssItems!.add(new Null.fromJson(v));
});
}
if (json['List_Kiosk_FingerPrint'] != null) {
listKioskFingerPrint = <Null>[];
json['List_Kiosk_FingerPrint'].forEach((v) {
// listKioskFingerPrint!.add(new Null.fromJson(v));
});
}
if (json['List_Kiosk_FingerPrintGetByID'] != null) {
listKioskFingerPrintGetByID = <Null>[];
json['List_Kiosk_FingerPrintGetByID'].forEach((v) {
// listKioskFingerPrintGetByID!.add(new Null.fromJson(v));
});
}
if (json['List_Kiosk_GetLastTransaction'] != null) {
listKioskGetLastTransaction = <Null>[];
json['List_Kiosk_GetLastTransaction'].forEach((v) {
// listKioskGetLastTransaction!.add(new Null.fromJson(v));
});
}
if (json['List_RegKiosk_FingerPrint'] != null) {
listRegKioskFingerPrint = <Null>[];
json['List_RegKiosk_FingerPrint'].forEach((v) {
// listRegKioskFingerPrint!.add(new Null.fromJson(v));
});
}
message = json['Message'];
ramadanTimeObj = json['RamadanTimeObj'];
habibTwitterList = json['habibTwitterList'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['Date'] = this.date;
data['LanguageID'] = this.languageID;
data['ServiceName'] = this.serviceName;
data['Time'] = this.time;
data['AndroidLink'] = this.androidLink;
data['AuthenticationTokenID'] = this.authenticationTokenID;
data['Data'] = this.data;
data['Dataw'] = this.dataw;
data['DietType'] = this.dietType;
data['DietTypeID'] = this.dietTypeID;
data['ErrorCode'] = this.errorCode;
data['ErrorEndUserMessage'] = this.errorEndUserMessage;
data['ErrorEndUserMessageN'] = this.errorEndUserMessageN;
data['ErrorMessage'] = this.errorMessage;
data['ErrorType'] = this.errorType;
data['FoodCategory'] = this.foodCategory;
data['IOSLink'] = this.iOSLink;
data['IsAuthenticated'] = this.isAuthenticated;
data['MealOrderStatus'] = this.mealOrderStatus;
data['MealType'] = this.mealType;
data['MessageStatus'] = this.messageStatus;
data['NumberOfResultRecords'] = this.numberOfResultRecords;
data['PatientBlodType'] = this.patientBlodType;
data['SuccessMsg'] = this.successMsg;
data['SuccessMsgN'] = this.successMsgN;
data['VidaUpdatedResponse'] = this.vidaUpdatedResponse;
data['EncryprURL'] = this.encryprURL;
data['KioskHelp'] = this.kioskHelp;
if (this.listRssItems != null) {
//data['ListRssItems'] = this.listRssItems!.map((v) => v.toJson()).toList();
}
if (this.listKioskFingerPrint != null) {
// data['List_Kiosk_FingerPrint'] = this.listKioskFingerPrint!.map((v) => v.toJson()).toList();
}
if (this.listKioskFingerPrintGetByID != null) {
//data['List_Kiosk_FingerPrintGetByID'] = this.listKioskFingerPrintGetByID!.map((v) => v.toJson()).toList();
}
if (this.listKioskGetLastTransaction != null) {
//data['List_Kiosk_GetLastTransaction'] = this.listKioskGetLastTransaction!.map((v) => v.toJson()).toList();
}
if (this.listRegKioskFingerPrint != null) {
//data['List_RegKiosk_FingerPrint'] = this.listRegKioskFingerPrint!.map((v) => v.toJson()).toList();
}
data['Message'] = this.message;
data['RamadanTimeObj'] = this.ramadanTimeObj;
data['habibTwitterList'] = this.habibTwitterList;
return data;
}
}