FoodAndDrink.fromJson constructor

FoodAndDrink.fromJson(
  1. Map json_
)

Implementation

FoodAndDrink.fromJson(core.Map json_)
  : this(
      bar: json_['bar'] as core.bool?,
      barException: json_['barException'] as core.String?,
      breakfastAvailable: json_['breakfastAvailable'] as core.bool?,
      breakfastAvailableException:
          json_['breakfastAvailableException'] as core.String?,
      breakfastBuffet: json_['breakfastBuffet'] as core.bool?,
      breakfastBuffetException:
          json_['breakfastBuffetException'] as core.String?,
      buffet: json_['buffet'] as core.bool?,
      buffetException: json_['buffetException'] as core.String?,
      dinnerBuffet: json_['dinnerBuffet'] as core.bool?,
      dinnerBuffetException: json_['dinnerBuffetException'] as core.String?,
      freeBreakfast: json_['freeBreakfast'] as core.bool?,
      freeBreakfastException: json_['freeBreakfastException'] as core.String?,
      restaurant: json_['restaurant'] as core.bool?,
      restaurantException: json_['restaurantException'] as core.String?,
      restaurantsCount: json_['restaurantsCount'] as core.int?,
      restaurantsCountException:
          json_['restaurantsCountException'] as core.String?,
      roomService: json_['roomService'] as core.bool?,
      roomServiceException: json_['roomServiceException'] as core.String?,
      tableService: json_['tableService'] as core.bool?,
      tableServiceException: json_['tableServiceException'] as core.String?,
      twentyFourHourRoomService:
          json_['twentyFourHourRoomService'] as core.bool?,
      twentyFourHourRoomServiceException:
          json_['twentyFourHourRoomServiceException'] as core.String?,
      vendingMachine: json_['vendingMachine'] as core.bool?,
      vendingMachineException:
          json_['vendingMachineException'] as core.String?,
    );