class GetMealsScheduleResponseModel { int scheduleID; int mealID; String description; String descriptionN; int weekID; String weekDescription; String weekDescriptionN; String tAT; int dietTypeID; int dayID; bool isShow; String tATTime; GetMealsScheduleResponseModel( {this.scheduleID, this.mealID, this.description, this.descriptionN, this.weekID, this.weekDescription, this.weekDescriptionN, this.tAT, this.dietTypeID, this.dayID, this.isShow, this.tATTime}); GetMealsScheduleResponseModel.fromJson(Map json) { scheduleID = json['ScheduleID']; mealID = json['MealID']; description = json['Description']; descriptionN = json['DescriptionN']; weekID = json['WeekID']; weekDescription = json['WeekDescription']; weekDescriptionN = json['WeekDescriptionN']; tAT = json['TAT']; dietTypeID = json['DietTypeID']; dayID = json['DayID']; isShow = json['IsShow']; tATTime = json['TATTime']; } Map toJson() { final Map data = new Map(); data['ScheduleID'] = this.scheduleID; data['MealID'] = this.mealID; data['Description'] = this.description; data['DescriptionN'] = this.descriptionN; data['WeekID'] = this.weekID; data['WeekDescription'] = this.weekDescription; data['WeekDescriptionN'] = this.weekDescriptionN; data['TAT'] = this.tAT; data['DietTypeID'] = this.dietTypeID; data['DayID'] = this.dayID; data['IsShow'] = this.isShow; data['TATTime'] = this.tATTime; return data; } }