SubscriptionPlan class
Constructors
- SubscriptionPlan.new({String id = '', String name = '', String imgUrl = '', String href = '', String productId = '', String priceId = '', SubscriptionLevel? level, Price? price, bool isActive = true, double? discount = 0.0, DateTime? lastUpdated})
- SubscriptionPlan.fromJSON(dynamic data)
Properties
- discount ↔ double?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- href ↔ String
-
getter/setter pair
- id ↔ String
-
getter/setter pair
- imgUrl ↔ String
-
getter/setter pair
- isActive ↔ bool
-
getter/setter pair
- lastUpdated ↔ DateTime?
-
getter/setter pair
- level ↔ SubscriptionLevel?
-
Stripe Price Id
getter/setter pair
- name ↔ String
-
getter/setter pair
- price ↔ Price?
-
getter/setter pair
- priceId ↔ String
-
Stripe Product Id
getter/setter pair
- productId ↔ String
-
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
-
toJSON(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited