toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final autoRenewingPlan = this.autoRenewingPlan;
  final deferredItemRemoval = this.deferredItemRemoval;
  final deferredItemReplacement = this.deferredItemReplacement;
  final expiryTime = this.expiryTime;
  final itemReplacement = this.itemReplacement;
  final latestSuccessfulOrderId = this.latestSuccessfulOrderId;
  final offerDetails = this.offerDetails;
  final offerPhase = this.offerPhase;
  final prepaidPlan = this.prepaidPlan;
  final productId = this.productId;
  final signupPromotion = this.signupPromotion;
  return {
    'autoRenewingPlan': ?autoRenewingPlan,
    'deferredItemRemoval': ?deferredItemRemoval,
    'deferredItemReplacement': ?deferredItemReplacement,
    'expiryTime': ?expiryTime,
    'itemReplacement': ?itemReplacement,
    'latestSuccessfulOrderId': ?latestSuccessfulOrderId,
    'offerDetails': ?offerDetails,
    'offerPhase': ?offerPhase,
    'prepaidPlan': ?prepaidPlan,
    'productId': ?productId,
    'signupPromotion': ?signupPromotion,
  };
}