SubscriptionData class

Constructors

SubscriptionData({required String durationTitle, required String durationShort, required String price, double? rawPrice, String? currencySymbol, String? duration, String? monthText, String? highlightText, int dealPercentage = 0, int index = 0, dynamic productDetails})

Properties

currencySymbol String?
Any currency like €, $.
getter/setter pair
dealPercentage int
getter/setter pair
duration String?
Please use ISO_8601 Durations: P1W = 1 week P1M = 1 month P3M = 3 months P6M = 6 months P1Y = 1 Year
getter/setter pair
durationShort String
getter/setter pair
durationTitle String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
highlightText String?
getter/setter pair
index int
getter/setter pair
monthText String?
String of the text "month". E.g. if you want to show how much it is per month: 1.49€/month then we need the translated string. Fallback is "month"
getter/setter pair
price String
Price as String
getter/setter pair
productDetails ↔ dynamic
getter/setter pair
rawPrice double?
Raw Price e.g. 1.99
getter/setter pair
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
toString() String
A string representation of this object.
inherited

Operators

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