toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (autoRenewingPlan != null) 'autoRenewingPlan': autoRenewingPlan!,
  if (deferredItemRemoval != null)
    'deferredItemRemoval': deferredItemRemoval!,
  if (deferredItemReplacement != null)
    'deferredItemReplacement': deferredItemReplacement!,
  if (expiryTime != null) 'expiryTime': expiryTime!,
  if (latestSuccessfulOrderId != null)
    'latestSuccessfulOrderId': latestSuccessfulOrderId!,
  if (offerDetails != null) 'offerDetails': offerDetails!,
  if (prepaidPlan != null) 'prepaidPlan': prepaidPlan!,
  if (productId != null) 'productId': productId!,
  if (signupPromotion != null) 'signupPromotion': signupPromotion!,
};