ActiveSubscription class
Constructors
- ActiveSubscription.new({bool? autoRenewingAndroid, String? basePlanIdAndroid, String? currentPlanId, double? daysUntilExpirationIOS, String? environmentIOS, double? expirationDateIOS, required bool isActive, required String productId, String? purchaseToken, String? purchaseTokenAndroid, required double transactionDate, required String transactionId, bool? willExpireSoon})
-
const
-
ActiveSubscription.fromJson(Map<
String, dynamic> json) -
factory
Properties
- autoRenewingAndroid → bool?
-
final
- basePlanIdAndroid → String?
-
final
- currentPlanId → String?
-
The current plan identifier. This is:
final
- daysUntilExpirationIOS → double?
-
final
- environmentIOS → String?
-
final
- expirationDateIOS → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isActive → bool
-
final
- productId → String
-
final
- purchaseToken → String?
-
final
- purchaseTokenAndroid → String?
-
Required for subscription upgrade/downgrade on Android
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactionDate → double
-
final
- transactionId → String
-
final
- willExpireSoon → bool?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited