SkProductResponseWrapper class
Dart wrapper around StoreKit's SKProductsResponse.
Represents the response object returned by SKRequestMaker.startProductRequest. Contains information about a list of products and a list of invalid product identifiers.
- Annotations
-
- @JsonSerializable()
Constructors
-
SkProductResponseWrapper({required List<
SKProductWrapper> products, required List<String> invalidProductIdentifiers}) - Creates an SkProductResponseWrapper with the given product details.
-
SkProductResponseWrapper.fromJson(Map<
String, dynamic> map) -
Constructing an instance from a map from the Objective-C layer.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
invalidProductIdentifiers
→ List<
String> -
Stores product identifiers in the
productIdentifiers
from SKRequestMaker.startProductRequest that are not recognized by the App Store.final -
products
→ List<
SKProductWrapper> -
Stores all matching successfully found products.
final
- 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.
override