toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final consumptionState = this.consumptionState;
  final offerId = this.offerId;
  final offerTags = this.offerTags;
  final offerToken = this.offerToken;
  final preorderOfferDetails = this.preorderOfferDetails;
  final purchaseOptionId = this.purchaseOptionId;
  final quantity = this.quantity;
  final refundableQuantity = this.refundableQuantity;
  final rentOfferDetails = this.rentOfferDetails;
  return {
    'consumptionState': ?consumptionState,
    'offerId': ?offerId,
    'offerTags': ?offerTags,
    'offerToken': ?offerToken,
    'preorderOfferDetails': ?preorderOfferDetails,
    'purchaseOptionId': ?purchaseOptionId,
    'quantity': ?quantity,
    'refundableQuantity': ?refundableQuantity,
    'rentOfferDetails': ?rentOfferDetails,
  };
}