UHotelJson class
Constructors
-
UHotelJson({String? detail1, String? detail2, String? description, String? policies, String? checkInTime, String? checkOutTime, List<
String> highlights = const <String>[], List<String> rules = const <String>[], String? howToGetThere, List<UPlaceNearby> nearby = const <UPlaceNearby>[], List<UPlaceFaq> faqs = const <UPlaceFaq>[], String? website, String? whatsapp, String? instagram, String? telegram, double? latitude, double? longitude, int cancellationFreeHours = 24, int cancellationPenaltyNights = 1}) - UHotelJson.fromJson(String str)
-
factory
-
UHotelJson.fromMap(Map<
String, dynamic> json) -
factory
Properties
- cancellationFreeHours → int
-
final
- cancellationPenaltyNights → int
-
final
- checkInTime → String?
-
final
- checkOutTime → String?
-
final
- description → String?
-
final
- detail1 → String?
-
final
- detail2 → String?
-
final
-
faqs
→ List<
UPlaceFaq> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
highlights
→ List<
String> -
final
- howToGetThere → String?
-
final
- instagram → String?
-
final
- latitude → double?
-
final
- longitude → double?
-
final
-
nearby
→ List<
UPlaceNearby> -
final
- policies → String?
-
final
-
rules
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- telegram → String?
-
final
- website → String?
-
final
- whatsapp → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited