Datum class

Constructors

Datum({String? id, int? level, String? name, String? description, double? price, double? originalPackagePrice, double? renewalPrice, int? renewalPricePercent, bool? allowFlightBooking, bool? available, int? durationDays, int? trialDays, String? currency, List<String>? type, int? adultPassengerLimit, int? maxExclusiveBookings, int? memberDiscountPercentage, int? rateRequest, int? neoMilesPaymentPercentage, int? neoOneMonthlySubscription, int? searchCredit, int? searchCreditUsd, int? neoMilesBonus, int? discountedPrice, int? bookingBonus, int? resortRequest, double? totalPrice, double? priceInBTC, bool? isUpgrade, bool? isAddon, int? vat, List? availableAddons})
Datum.fromJson(Map<String, dynamic> json)
factory

Properties

adultPassengerLimit int?
getter/setter pair
allowFlightBooking bool?
getter/setter pair
available bool?
getter/setter pair
availableAddons List?
getter/setter pair
bookingBonus int?
getter/setter pair
currency String?
getter/setter pair
description String?
getter/setter pair
discountedPrice int?
getter/setter pair
durationDays int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
isAddon bool?
getter/setter pair
isUpgrade bool?
getter/setter pair
level int?
getter/setter pair
maxExclusiveBookings int?
getter/setter pair
memberDiscountPercentage int?
getter/setter pair
name String?
getter/setter pair
neoMilesBonus int?
getter/setter pair
neoMilesPaymentPercentage int?
getter/setter pair
neoOneMonthlySubscription int?
getter/setter pair
originalPackagePrice double?
getter/setter pair
planType PlanType
no setter
price double?
getter/setter pair
priceInBTC double?
getter/setter pair
rateRequest int?
getter/setter pair
renewalPrice double?
getter/setter pair
renewalPricePercent int?
getter/setter pair
resortRequest int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saving double
no setter
searchCredit int?
getter/setter pair
searchCreditUsd int?
getter/setter pair
totalPrice double?
getter/setter pair
trialDays int?
getter/setter pair
type List<String>?
getter/setter pair
vat int?
getter/setter pair

Methods

copyWith({String? id, int? level, String? name, String? description, double? price, double? originalPackagePrice, double? renewalPrice, int? renewalPricePercent, bool? allowFlightBooking, bool? available, int? durationDays, int? trialDays, String? currency, List<String>? type, int? adultPassengerLimit, int? maxExclusiveBookings, int? memberDiscountPercentage, int? rateRequest, int? neoMilesPaymentPercentage, int? neoOneMonthlySubscription, int? searchCredit, int? searchCreditUsd, int? neoMilesBonus, int? discountedPrice, int? bookingBonus, int? resortRequest, double? totalPrice, double? priceInBTC, bool? isUpgrade, bool? isAddon, List<Addon>? availableAddons}) Datum
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.
inherited

Operators

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