toJson method
Implementation
Map<String, dynamic> toJson() => {
"environment": environment,
"receipt": receipt?.toJson(),
"latest_receipt_info":
latestReceiptInfo != null ? List<dynamic>.from(latestReceiptInfo!.map((x) => x.toJson())) : null,
"latest_receipt": latestReceipt,
"pending_renewal_info":
pendingRenewalInfo != null ? List<dynamic>.from(pendingRenewalInfo!.map((x) => x.toJson())) : null,
"status": status,
};