SubscriptionInfo class
Details about a customer’s subscription.
Constructors
- SubscriptionInfo.new({SubscriptionPlan? plan, SubscriptionStatus? status, String? id})
-
const
-
SubscriptionInfo.fromJson(Map<
String, dynamic> json) -
Construct from JSON.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
Unique identifier of this specific the selected plan.
final
- plan → SubscriptionPlan?
-
The plan definition that the customer chose.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → SubscriptionStatus?
-
The state of the plan.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert back to JSON, keeping the backend’s key names intact.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited