HotelSearchArea class
Constructors
- HotelSearchArea({String? cityCode, String? geoNodeId, CoordinatesInput? coordinates, int? radiusKm})
- Returns a new HotelSearchArea instance.
Properties
- cityCode ↔ String?
-
Three-letter IATA city code, for example
DXB.getter/setter pair - coordinates ↔ CoordinatesInput?
-
Centre point of a radius search; use with
radiusKm.getter/setter pair - geoNodeId ↔ String?
-
Destination ID (a UUID): a place's
idfromGET /hotels/destinations. A destination covers every place inside it, so a city ID finds the hotels in all its areas. Takes precedence overcityCodewhen both are sent.getter/setter pair - hashCode → int
-
The hash code for this object.
no setteroverride
- radiusKm ↔ int?
-
Radius around
coordinatesin kilometres, 1–150.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → HotelSearchArea? -
Returns a new HotelSearchArea instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< HotelSearchArea> -
mapFromJson(
dynamic json) → Map< String, HotelSearchArea> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< HotelSearchArea> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.