toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final acknowledgementState = this.acknowledgementState;
final autoRenewing = this.autoRenewing;
final autoResumeTimeMillis = this.autoResumeTimeMillis;
final cancelReason = this.cancelReason;
final cancelSurveyResult = this.cancelSurveyResult;
final countryCode = this.countryCode;
final developerPayload = this.developerPayload;
final emailAddress = this.emailAddress;
final expiryTimeMillis = this.expiryTimeMillis;
final externalAccountId = this.externalAccountId;
final familyName = this.familyName;
final givenName = this.givenName;
final introductoryPriceInfo = this.introductoryPriceInfo;
final kind = this.kind;
final linkedPurchaseToken = this.linkedPurchaseToken;
final obfuscatedExternalAccountId = this.obfuscatedExternalAccountId;
final obfuscatedExternalProfileId = this.obfuscatedExternalProfileId;
final orderId = this.orderId;
final paymentState = this.paymentState;
final priceAmountMicros = this.priceAmountMicros;
final priceChange = this.priceChange;
final priceCurrencyCode = this.priceCurrencyCode;
final profileId = this.profileId;
final profileName = this.profileName;
final promotionCode = this.promotionCode;
final promotionType = this.promotionType;
final purchaseType = this.purchaseType;
final startTimeMillis = this.startTimeMillis;
final userCancellationTimeMillis = this.userCancellationTimeMillis;
return {
'acknowledgementState': ?acknowledgementState,
'autoRenewing': ?autoRenewing,
'autoResumeTimeMillis': ?autoResumeTimeMillis,
'cancelReason': ?cancelReason,
'cancelSurveyResult': ?cancelSurveyResult,
'countryCode': ?countryCode,
'developerPayload': ?developerPayload,
'emailAddress': ?emailAddress,
'expiryTimeMillis': ?expiryTimeMillis,
'externalAccountId': ?externalAccountId,
'familyName': ?familyName,
'givenName': ?givenName,
'introductoryPriceInfo': ?introductoryPriceInfo,
'kind': ?kind,
'linkedPurchaseToken': ?linkedPurchaseToken,
'obfuscatedExternalAccountId': ?obfuscatedExternalAccountId,
'obfuscatedExternalProfileId': ?obfuscatedExternalProfileId,
'orderId': ?orderId,
'paymentState': ?paymentState,
'priceAmountMicros': ?priceAmountMicros,
'priceChange': ?priceChange,
'priceCurrencyCode': ?priceCurrencyCode,
'profileId': ?profileId,
'profileName': ?profileName,
'promotionCode': ?promotionCode,
'promotionType': ?promotionType,
'purchaseType': ?purchaseType,
'startTimeMillis': ?startTimeMillis,
'userCancellationTimeMillis': ?userCancellationTimeMillis,
};
}