toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (createTime != null) 'createTime': createTime!,
if (currentPreTaxAmount != null)
'currentPreTaxAmount': currentPreTaxAmount!,
if (currentTaxAmount != null) 'currentTaxAmount': currentTaxAmount!,
if (externalTransactionId != null)
'externalTransactionId': externalTransactionId!,
if (oneTimeTransaction != null)
'oneTimeTransaction': oneTimeTransaction!,
if (originalPreTaxAmount != null)
'originalPreTaxAmount': originalPreTaxAmount!,
if (originalTaxAmount != null) 'originalTaxAmount': originalTaxAmount!,
if (packageName != null) 'packageName': packageName!,
if (recurringTransaction != null)
'recurringTransaction': recurringTransaction!,
if (testPurchase != null) 'testPurchase': testPurchase!,
if (transactionState != null) 'transactionState': transactionState!,
if (transactionTime != null) 'transactionTime': transactionTime!,
if (userTaxAddress != null) 'userTaxAddress': userTaxAddress!,
};