AdminPlan class
- Available extensions
- Annotations
-
- @CopyWith.new()
- @JsonSerializable.new(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)
Constructors
-
AdminPlan({required String code, required String name, required AdminPlanIntervalEnum interval, required bool active, required int sort, required String? priceLabel, required Map<
String, num> limits, required bool creditGate, required Map<String, String> storeProductIds, required String? dodoProductId, required int workspaces}) - Returns a new AdminPlan instance.
-
AdminPlan.fromJson(Map<
String, dynamic> json) -
factory
Properties
- active → bool
-
final
- code → String
-
final
- copyWith → _$AdminPlanCWProxy
-
Available on AdminPlan, provided by the $AdminPlanCopyWith extension
Returns a callable class used to build a new instance with modified fields. Example:instanceOfAdminPlan.copyWith(...)orinstanceOfAdminPlan.copyWith.fieldName(...).no setter - creditGate → bool
-
Runs on Casama's keys stop when the workspace's credits run out
final
- dodoProductId → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- interval → AdminPlanIntervalEnum
-
final
-
limits
→ Map<
String, num> -
final
- name → String
-
final
- priceLabel → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sort → int
-
final
-
storeProductIds
→ Map<
String, String> -
final
- workspaces → int
-
Workspaces on this plan now
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override