toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (transactionId != null) 'transactionId': transactionId!,
      if (transactionRevenue != null)
        'transactionRevenue': transactionRevenue!,
      if (transactionShipping != null)
        'transactionShipping': transactionShipping!,
      if (transactionTax != null) 'transactionTax': transactionTax!,
    };