toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (listingPrice != null) 'listingPrice': listingPrice!,
  if (oneTimePurchaseDetails != null)
    'oneTimePurchaseDetails': oneTimePurchaseDetails!,
  if (paidAppDetails != null) 'paidAppDetails': paidAppDetails!,
  if (productId != null) 'productId': productId!,
  if (productTitle != null) 'productTitle': productTitle!,
  if (subscriptionDetails != null)
    'subscriptionDetails': subscriptionDetails!,
  if (tax != null) 'tax': tax!,
  if (total != null) 'total': total!,
};