toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (acknowledgementState != null)
'acknowledgementState': acknowledgementState!,
if (consumptionState != null) 'consumptionState': consumptionState!,
if (developerPayload != null) 'developerPayload': developerPayload!,
if (kind != null) 'kind': kind!,
if (obfuscatedExternalAccountId != null)
'obfuscatedExternalAccountId': obfuscatedExternalAccountId!,
if (obfuscatedExternalProfileId != null)
'obfuscatedExternalProfileId': obfuscatedExternalProfileId!,
if (orderId != null) 'orderId': orderId!,
if (productId != null) 'productId': productId!,
if (purchaseState != null) 'purchaseState': purchaseState!,
if (purchaseTimeMillis != null)
'purchaseTimeMillis': purchaseTimeMillis!,
if (purchaseToken != null) 'purchaseToken': purchaseToken!,
if (purchaseType != null) 'purchaseType': purchaseType!,
if (quantity != null) 'quantity': quantity!,
if (refundableQuantity != null)
'refundableQuantity': refundableQuantity!,
if (regionCode != null) 'regionCode': regionCode!,
};