toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (buyerAddress != null) 'buyerAddress': buyerAddress!,
  if (createTime != null) 'createTime': createTime!,
  if (developerRevenueInBuyerCurrency != null)
    'developerRevenueInBuyerCurrency': developerRevenueInBuyerCurrency!,
  if (lastEventTime != null) 'lastEventTime': lastEventTime!,
  if (lineItems != null) 'lineItems': lineItems!,
  if (orderDetails != null) 'orderDetails': orderDetails!,
  if (orderHistory != null) 'orderHistory': orderHistory!,
  if (orderId != null) 'orderId': orderId!,
  if (pointsDetails != null) 'pointsDetails': pointsDetails!,
  if (purchaseToken != null) 'purchaseToken': purchaseToken!,
  if (state != null) 'state': state!,
  if (tax != null) 'tax': tax!,
  if (total != null) 'total': total!,
};