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