toJson method
Implementation
Map<String, dynamic> toJson() => {
"id": id,
"level": level,
"name": name,
"description": description,
"price": price,
"originalPackagePrice":originalPackagePrice,
"renewalPrice": renewalPrice,
"renewalPricePercent": renewalPricePercent,
"allowFlightBooking": allowFlightBooking,
"available": available,
"durationDays": durationDays,
"trialDays": trialDays,
"currency": currency,
"type": type,
"adultPassengerLimit": adultPassengerLimit,
"maxExclusiveBookings": maxExclusiveBookings,
"memberDiscountPercentage": memberDiscountPercentage,
"rateRequest": rateRequest,
"neoMilesPaymentPercentage": neoMilesPaymentPercentage,
"neoOneMonthlySubscription": neoOneMonthlySubscription,
"searchCredit": searchCredit,
"searchCreditInUSD": searchCreditUsd,
"neoMilesBonus": neoMilesBonus,
"discountedPrice": discountedPrice,
"bookingBonus": bookingBonus,
"resortRequest": resortRequest,
"totalPrice": totalPrice,
"priceInBTC": priceInBTC,
"isUpgrade": isUpgrade,
"isAddon": isAddon,
"vat": vat,
"availableAddons": availableAddons,
};