toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final acknowledgementState = this.acknowledgementState;
  final consumptionState = this.consumptionState;
  final developerPayload = this.developerPayload;
  final kind = this.kind;
  final obfuscatedExternalAccountId = this.obfuscatedExternalAccountId;
  final obfuscatedExternalProfileId = this.obfuscatedExternalProfileId;
  final orderId = this.orderId;
  final productId = this.productId;
  final purchaseState = this.purchaseState;
  final purchaseTimeMillis = this.purchaseTimeMillis;
  final purchaseToken = this.purchaseToken;
  final purchaseType = this.purchaseType;
  final quantity = this.quantity;
  final refundableQuantity = this.refundableQuantity;
  final regionCode = this.regionCode;
  return {
    'acknowledgementState': ?acknowledgementState,
    'consumptionState': ?consumptionState,
    'developerPayload': ?developerPayload,
    'kind': ?kind,
    'obfuscatedExternalAccountId': ?obfuscatedExternalAccountId,
    'obfuscatedExternalProfileId': ?obfuscatedExternalProfileId,
    'orderId': ?orderId,
    'productId': ?productId,
    'purchaseState': ?purchaseState,
    'purchaseTimeMillis': ?purchaseTimeMillis,
    'purchaseToken': ?purchaseToken,
    'purchaseType': ?purchaseType,
    'quantity': ?quantity,
    'refundableQuantity': ?refundableQuantity,
    'regionCode': ?regionCode,
  };
}