ProjectionView class

Constructors

ProjectionView({Map<String, bool> apps = const {}, String? tier})
Returns a new ProjectionView instance.

Properties

apps ↔ Map<String, bool>
Apps says, per console app, whether the org may open it. The SAME six keys are always present (studio, bot, world, platform, team, admin), so a client maps over it unconditionally; a key is false both when the plan does not grant the app and when commerce could not be reached, because a read that decides what to SHOW fails to LOCKED rather than to an error.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tier ↔ String?
Tier is the plan slug commerce resolved for the org, or "" when the org has no active licensing subscription — which the console treats as its free default.
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) → ProjectionView?
Returns a new ProjectionView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ProjectionView>
mapFromJson(dynamic json) → Map<String, ProjectionView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ProjectionView>>

Constants

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