SK2SubscriptionInfo class

A wrapper around StoreKit2's SubscriptionInfo https://developer.apple.com/documentation/storekit/product/subscriptioninfo Information about an auto-renewable subscription, such as its status, period, subscription group, and subscription offer details.

Constructors

SK2SubscriptionInfo({required String subscriptionGroupID, required List<SK2SubscriptionOffer> promotionalOffers, required SK2SubscriptionPeriod subscriptionPeriod})
Creates a new instance of SK2SubscriptionInfo
const

Properties

hashCode int
The hash code for this object.
no setterinherited
promotionalOffers List<SK2SubscriptionOffer>
An array of all the promotional offers configured for this subscription.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionGroupID String
The group identifier for this subscription.
final
subscriptionPeriod SK2SubscriptionPeriod
The duration that this subscription lasts before auto-renewing.
final

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