OfferModel class

Constructors

OfferModel({String? uid, String? offerId, bool? canBeReservedWithoutPay, String? priceGuaranteeExpiresAt, String? paymentRequiredBy, double? profit, String? tripType, double? taxUsd, String? currency, double? onlinePrice, double? discountedPrice, String? discountedPercentage, double? mileageCost, double? totalOnlinePrice, double? totalDiscountedPrice, bool? isDiscounted, double? adultCost, bool? searchCreditUsed, String? source, List<String>? duffelPassengerIds, bool? searchedWithCredit, String? program, double? totalCostUsdWithTax, String? duffelOffer, String? flightClass, String? flightSubClass, double? milesToGain, double? totalDiscountedPriceBTC, List<TripModel>? trips, List<PricingOption>? pricingOptions, EstimateRateQuote? estimate, bool? updatedOnlinePrice, double? totalOnlinePriceBTC})
OfferModel.fromJson(Map<String, dynamic> json)

Properties

adultCost ↔ double?
getter/setter pair
canBeReservedWithoutPay ↔ bool?
getter/setter pair
currency ↔ String?
getter/setter pair
departureStops → int
no setter
departureTrip → TripModel?
no setter
discountedPercentage ↔ String?
getter/setter pair
discountedPrice ↔ double?
getter/setter pair
duffelOffer ↔ String?
getter/setter pair
duffelPassengerIds ↔ List<String>?
getter/setter pair
estimate ↔ EstimateRateQuote?
getter/setter pair
flightClass ↔ String?
getter/setter pair
flightSubClass ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isDiscounted ↔ bool?
getter/setter pair
isNonDiscounted → bool
no setter
isRoundTrip → bool
no setter
maxDuration → int
no setter
mileageCost ↔ double?
getter/setter pair
milesToGain ↔ double?
getter/setter pair
minDuration → int
no setter
offerId ↔ String?
getter/setter pair
onlinePrice ↔ double?
getter/setter pair
paymentRequiredBy ↔ String?
getter/setter pair
priceGuaranteeExpiresAt ↔ String?
getter/setter pair
pricingOptions ↔ List<PricingOption>?
getter/setter pair
profit ↔ double?
getter/setter pair
program ↔ String?
getter/setter pair
returnStops → int
no setter
returnTrip → TripModel?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchCreditUsed ↔ bool?
getter/setter pair
searchedWithCredit ↔ bool?
getter/setter pair
source ↔ String?
getter/setter pair
stops → int
no setter
taxUsd ↔ double?
getter/setter pair
totalCostUsdWithTax ↔ double?
getter/setter pair
totalDiscountedPrice ↔ double?
getter/setter pair
totalDiscountedPriceBTC ↔ double?
getter/setter pair
totalDurationForOffer → int
no setter
totalOnlinePrice ↔ double?
getter/setter pair
totalOnlinePriceBTC ↔ double?
getter/setter pair
trips ↔ List<TripModel>?
getter/setter pair
tripType ↔ String?
getter/setter pair
uid ↔ String?
getter/setter pair
updatedOnlinePrice ↔ bool?
getter/setter pair

Methods

copyWith({String? uid, String? offerId, bool? canBeReservedWithoutPay, String? priceGuaranteeExpiresAt, String? paymentRequiredBy, double? profit, String? tripType, double? taxUsd, String? currency, double? onlinePrice, double? discountedPrice, String? discountedPercentage, double? mileageCost, double? totalOnlinePrice, double? totalDiscountedPrice, bool? isDiscounted, double? adultCost, bool? searchCreditUsed, String? source, List<String>? duffelPassengerIds, bool? searchedWithCredit, String? program, double? totalCostUsdWithTax, String? duffelOffer, String? flightClass, String? flightSubClass, double? milesToGain, double? totalDiscountedPriceBTC, List<TripModel>? trips, List<PricingOption>? pricingOptions, EstimateRateQuote? estimate, bool? updatedOnlinePrice}) → OfferModel
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