toJson method
Implementation
Map<String, dynamic> toJson() => {
"adultPassengerLimit": adultPassengerLimit,
"comment": comment,
"createdAt": createdAt,
"currency": currency,
"expiryDate": expiryDate,
"id": id,
"isAddon": isAddon,
"isRenewal": isRenewal,
"isUpgrade": isUpgrade,
"maxOneRoundTripBooking": maxOneRoundTripBooking,
"maxOneWayTripBooking": maxOneWayTripBooking,
"name": name,
"neoMilesBonusEarned": neoMilesBonusEarned,
"neoMilesPaymentPercentage": neoMilesPaymentPercentage,
"neoMilesTransactionId": neoMilesTransactionId,
"neoOneMonthlySubscription": neoOneMonthlySubscription,
"originalPackageCurrency": originalPackageCurrency,
"originalPackagePrice": originalPackagePrice,
"package": package,
"passengerChangeCounter": passengerChangeCounter,
"paymentHash": paymentHash,
"paymentId": paymentId,
"price": price,
"status": status,
"subscriberId": subscriberId,
"type": type,
"updatedAt": updatedAt,
"wallet": wallet,
};