StoreResponseParser class
Pure functions that turn store responses into VerificationResult.
No network or global state here — everything the decision depends on is passed in, so each rule can be unit tested.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
appleSubscription(
StatusResponse response, String originalTransactionId) → VerificationResult -
Parses
getAllSubscriptionStatuses. -
appleTransaction(
JWSTransactionDecodedPayload tx, {required String environment}) → VerificationResult -
Parses a single decoded transaction from
getTransactionHistory. -
googleProduct(
Map< String, dynamic> json) → VerificationResult -
Parses
purchases.productsv2.getproductpurchasev2. -
googleSubscription(
Map< String, dynamic> json, {required DateTime now}) → VerificationResult -
Parses
purchases.subscriptionsv2.get.