toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (acknowledgementState != null)
    'acknowledgementState': acknowledgementState!,
  if (kind != null) 'kind': kind!,
  if (obfuscatedExternalAccountId != null)
    'obfuscatedExternalAccountId': obfuscatedExternalAccountId!,
  if (obfuscatedExternalProfileId != null)
    'obfuscatedExternalProfileId': obfuscatedExternalProfileId!,
  if (orderId != null) 'orderId': orderId!,
  if (productLineItem != null) 'productLineItem': productLineItem!,
  if (purchaseCompletionTime != null)
    'purchaseCompletionTime': purchaseCompletionTime!,
  if (purchaseStateContext != null)
    'purchaseStateContext': purchaseStateContext!,
  if (regionCode != null) 'regionCode': regionCode!,
  if (testPurchaseContext != null)
    'testPurchaseContext': testPurchaseContext!,
};