SKRequestMaker class

A request maker that handles all the requests made by SKRequest subclasses.

There are multiple SKRequest subclasses handling different requests in the StoreKit with multiple delegate methods, we consolidated all the SKRequest subclasses into this class to make requests in a more straightforward way. The request maker will create a SKRequest object, immediately starting it, and completing the future successfully or throw an exception depending on what happened to the request.

Constructors

SKRequestMaker()

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
startProductRequest(List<String> productIdentifiers) Future<SkProductResponseWrapper>
Fetches product information for a list of given product identifiers.
startRefreshReceiptRequest({Map<String, Object?>? receiptProperties}) Future<void>
Uses SKReceiptRefreshRequest to request a new receipt.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited