SKProductDiscountType enum
Dart wrapper around StoreKit's SKProductDiscountType (https://developer.apple.com/documentation/storekit/skproductdiscounttype?language=objc)
This is used as a property in the SKProductDiscountWrapper. The values of the enum options are matching the SKProductDiscountType's values.
Values representing the types of discount offers an app can present.
Constructors
- SKProductDiscountType()
-
const
Values
- introductory → const SKProductDiscountType
-
A constant indicating the discount type is an introductory offer.
- subscription → const SKProductDiscountType
-
A constant indicating the discount type is a promotional offer.
Properties
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
-
convertFromPigeon(
SKProductDiscountTypeMessage msg) → SKProductDiscountType -
Convert from
SKProductDiscountTypeMessage
to SKProductDiscountType -
convertToPigeon(
SKProductDiscountType wrapper) → SKProductDiscountTypeMessage -
Convert from SKProductDiscountType to
SKProductDiscountTypeMessage
Constants
-
values
→ const List<
SKProductDiscountType> - A constant List of the values in this enum, in order of their declaration.