toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '__typename': 'ReceiptValidationResultAndroid',
    'autoRenewing': autoRenewing,
    'betaProduct': betaProduct,
    'cancelDate': cancelDate,
    'cancelReason': cancelReason,
    'deferredDate': deferredDate,
    'deferredSku': deferredSku,
    'freeTrialEndDate': freeTrialEndDate,
    'gracePeriodEndDate': gracePeriodEndDate,
    'parentProductId': parentProductId,
    'productId': productId,
    'productType': productType,
    'purchaseDate': purchaseDate,
    'quantity': quantity,
    'receiptId': receiptId,
    'renewalDate': renewalDate,
    'term': term,
    'termSku': termSku,
    'testTransaction': testTransaction,
  };
}