toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (acknowledgementState != null)
'acknowledgementState': acknowledgementState!,
if (canceledStateContext != null)
'canceledStateContext': canceledStateContext!,
if (externalAccountIdentifiers != null)
'externalAccountIdentifiers': externalAccountIdentifiers!,
if (kind != null) 'kind': kind!,
if (latestOrderId != null) 'latestOrderId': latestOrderId!,
if (lineItems != null) 'lineItems': lineItems!,
if (linkedPurchaseToken != null)
'linkedPurchaseToken': linkedPurchaseToken!,
if (pausedStateContext != null)
'pausedStateContext': pausedStateContext!,
if (regionCode != null) 'regionCode': regionCode!,
if (startTime != null) 'startTime': startTime!,
if (subscribeWithGoogleInfo != null)
'subscribeWithGoogleInfo': subscribeWithGoogleInfo!,
if (subscriptionState != null) 'subscriptionState': subscriptionState!,
if (testPurchase != null) 'testPurchase': testPurchase!,
};