PlanInfo class

Constructors

PlanInfo({bool? active, int? guestLimit, int? guests, String? plan, int? seats, String? upgradeUrl})
Returns a new PlanInfo instance.

Properties

active ↔ bool?
Active is whether that plan's entitlement is live.
getter/setter pair
guestLimit ↔ int?
GuestLimit is the plan's team.guests cap, when the plan carries one.
getter/setter pair
guests ↔ int?
Guests is how many of those seats are guests.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
plan ↔ String?
Plan is the licensed plan id, empty when it cannot be resolved here — an honest dash on the page, never a fabricated tier.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seats ↔ int?
Seats is the org's distinct active human members.
getter/setter pair
upgradeUrl ↔ String?
UpgradeURL is where the page sends a caller who wants a bigger plan.
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → PlanInfo?
Returns a new PlanInfo instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<PlanInfo>
mapFromJson(dynamic json) → Map<String, PlanInfo>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<PlanInfo>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.