toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final buyerAddress = this.buyerAddress;
  final createTime = this.createTime;
  final developerRevenueInBuyerCurrency =
      this.developerRevenueInBuyerCurrency;
  final lastEventTime = this.lastEventTime;
  final lineItems = this.lineItems;
  final orderDetails = this.orderDetails;
  final orderHistory = this.orderHistory;
  final orderId = this.orderId;
  final pointsDetails = this.pointsDetails;
  final purchaseToken = this.purchaseToken;
  final salesChannel = this.salesChannel;
  final state = this.state;
  final tax = this.tax;
  final total = this.total;
  return {
    'buyerAddress': ?buyerAddress,
    'createTime': ?createTime,
    'developerRevenueInBuyerCurrency': ?developerRevenueInBuyerCurrency,
    'lastEventTime': ?lastEventTime,
    'lineItems': ?lineItems,
    'orderDetails': ?orderDetails,
    'orderHistory': ?orderHistory,
    'orderId': ?orderId,
    'pointsDetails': ?pointsDetails,
    'purchaseToken': ?purchaseToken,
    'salesChannel': ?salesChannel,
    'state': ?state,
    'tax': ?tax,
    'total': ?total,
  };
}