toJson method
Implementation
@override
Map<String, Object?> toJson() => {
if (expiresAt != null) "expires_at": encodeValue(expiresAt),
if (id != null) "id": encodeValue(id),
if (quantity != null) "quantity": encodeValue(quantity),
if (purchaseIntentId != null)
"purchase_intent_id": encodeValue(purchaseIntentId),
if (reactivate != null) "reactivate": encodeValue(reactivate),
if (presentation != null) "presentation": encodeValue(presentation),
};