FoodAndDrink class Null safety

Meals, snacks, and beverages available at the property.

Constructors

FoodAndDrink({bool? bar, String? barException, bool? breakfastAvailable, String? breakfastAvailableException, bool? breakfastBuffet, String? breakfastBuffetException, bool? buffet, String? buffetException, bool? dinnerBuffet, String? dinnerBuffetException, bool? freeBreakfast, String? freeBreakfastException, bool? restaurant, String? restaurantException, int? restaurantsCount, String? restaurantsCountException, bool? roomService, String? roomServiceException, bool? tableService, String? tableServiceException, bool? twentyFourHourRoomService, String? twentyFourHourRoomServiceException, bool? vendingMachine, String? vendingMachineException})
FoodAndDrink.fromJson(Map _json)

Properties

bar bool?
Bar. [...]
read / write
barException String?
Bar exception. Possible string values are: [...]
read / write
breakfastAvailable bool?
Breakfast available. [...]
read / write
breakfastAvailableException String?
Breakfast available exception. Possible string values are: [...]
read / write
breakfastBuffet bool?
Breakfast buffet. [...]
read / write
breakfastBuffetException String?
Breakfast buffet exception. Possible string values are: [...]
read / write
buffet bool?
Buffet. [...]
read / write
buffetException String?
Buffet exception. Possible string values are: [...]
read / write
dinnerBuffet bool?
Dinner buffet. [...]
read / write
dinnerBuffetException String?
Dinner buffet exception. Possible string values are: [...]
read / write
freeBreakfast bool?
Free breakfast. [...]
read / write
freeBreakfastException String?
Free breakfast exception. Possible string values are: [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
restaurant bool?
Restaurant. [...]
read / write
restaurantException String?
Restaurant exception. Possible string values are: [...]
read / write
restaurantsCount int?
Restaurants count. [...]
read / write
restaurantsCountException String?
Restaurants count exception. Possible string values are: [...]
read / write
roomService bool?
Room service. [...]
read / write
roomServiceException String?
Room service exception. Possible string values are: [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tableService bool?
Table service. [...]
read / write
tableServiceException String?
Table service exception. Possible string values are: [...]
read / write
twentyFourHourRoomService bool?
24hr room service. [...]
read / write
twentyFourHourRoomServiceException String?
24hr room service exception. Possible string values are: [...]
read / write
vendingMachine bool?
Vending machine. [...]
read / write
vendingMachineException String?
Vending machine exception. Possible string values are: [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited