toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final bar = this.bar;
final barException = this.barException;
final breakfastAvailable = this.breakfastAvailable;
final breakfastAvailableException = this.breakfastAvailableException;
final breakfastBuffet = this.breakfastBuffet;
final breakfastBuffetException = this.breakfastBuffetException;
final buffet = this.buffet;
final buffetException = this.buffetException;
final dinnerBuffet = this.dinnerBuffet;
final dinnerBuffetException = this.dinnerBuffetException;
final freeBreakfast = this.freeBreakfast;
final freeBreakfastException = this.freeBreakfastException;
final restaurant = this.restaurant;
final restaurantException = this.restaurantException;
final restaurantsCount = this.restaurantsCount;
final restaurantsCountException = this.restaurantsCountException;
final roomService = this.roomService;
final roomServiceException = this.roomServiceException;
final tableService = this.tableService;
final tableServiceException = this.tableServiceException;
final twentyFourHourRoomService = this.twentyFourHourRoomService;
final twentyFourHourRoomServiceException =
this.twentyFourHourRoomServiceException;
final vendingMachine = this.vendingMachine;
final vendingMachineException = this.vendingMachineException;
return {
'bar': ?bar,
'barException': ?barException,
'breakfastAvailable': ?breakfastAvailable,
'breakfastAvailableException': ?breakfastAvailableException,
'breakfastBuffet': ?breakfastBuffet,
'breakfastBuffetException': ?breakfastBuffetException,
'buffet': ?buffet,
'buffetException': ?buffetException,
'dinnerBuffet': ?dinnerBuffet,
'dinnerBuffetException': ?dinnerBuffetException,
'freeBreakfast': ?freeBreakfast,
'freeBreakfastException': ?freeBreakfastException,
'restaurant': ?restaurant,
'restaurantException': ?restaurantException,
'restaurantsCount': ?restaurantsCount,
'restaurantsCountException': ?restaurantsCountException,
'roomService': ?roomService,
'roomServiceException': ?roomServiceException,
'tableService': ?tableService,
'tableServiceException': ?tableServiceException,
'twentyFourHourRoomService': ?twentyFourHourRoomService,
'twentyFourHourRoomServiceException': ?twentyFourHourRoomServiceException,
'vendingMachine': ?vendingMachine,
'vendingMachineException': ?vendingMachineException,
};
}