OrgOptinView class

Constructors

OrgOptinView({bool? canManage, String? display, bool? listed})
Returns a new OrgOptinView instance.

Properties

canManage ↔ bool?
CanManage is true only for an admin of this org (or a platform SuperAdmin) — the callers whose write of the org preference will be accepted.
getter/setter pair
display ↔ String?
Display is the name shown for the org on that board. Empty when none was chosen; opting in without one defaults it to the org id.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
listed ↔ bool?
Listed is true when the org has opted onto the cross-org global board. False — the default — keeps the org off it entirely; the org's own members still see their own board. Listing consents to publishing usage VOLUME, never spend.
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.
override

Static Methods

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

Constants

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