SK2SubscriptionPeriod class
A wrapper around StoreKit2's SubscriptionPeriod https://developer.apple.com/documentation/storekit/product/subscriptionperiod Values that represent the duration of time between subscription renewals.
Constructors
- SK2SubscriptionPeriod({required int value, required SK2SubscriptionPeriodUnit unit})
-
Creates a new instance of SK2SubscriptionPeriod
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unit → SK2SubscriptionPeriodUnit
-
The unit of time that this period represents.
final
- value → int
-
The number of units that the period represents.
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