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