SubscriptionData class

Constructors

SubscriptionData({String id = "", required List<StringData> text, double price = 0, required List<StringData> desc, bool defaultItem = false, bool visible = true, Color color = const Color(0xfff7a062), required List<StringData> text2, int days = 0})
SubscriptionData.createEmpty()
factory
SubscriptionData.fromJson(String _id, Map<String, dynamic> data)
factory

Properties

color Color
getter/setter pair
days int
getter/setter pair
defaultItem bool
getter/setter pair
desc List<StringData>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
price double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
getter/setter pair
text List<StringData>
getter/setter pair
text2 List<StringData>
getter/setter pair
visible bool
getter/setter pair

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