KnownUpdateMemberRole enum
Overview
The object representing knownValues
defined in Lexicon as an Enum.
Although the knownValues
defined in Lexicon are not technically Enums,
it is very useful to be able to treat these fields as type safe Enums.
Usage
Get JSON compatible value
// JSON compatible value.
final value = KnownUpdateMemberRole.something.value;
Convert to UUpdateMemberRole
final union = KnownUpdateMemberRole.something.toUnion();
- Inheritance
- Available extensions
Values
- roleAdmin → const KnownUpdateMemberRole
-
Admin role. Highest level of access, can perform all actions.
const KnownUpdateMemberRole('tools.ozone.team.defs#roleAdmin')
- roleModerator → const KnownUpdateMemberRole
-
Moderator role. Can perform most actions.
const KnownUpdateMemberRole('tools.ozone.team.defs#roleModerator')
- roleTriage → const KnownUpdateMemberRole
-
Triage role. Mostly intended for monitoring and escalating issues.
const KnownUpdateMemberRole('tools.ozone.team.defs#roleTriage')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
String? value) → KnownUpdateMemberRole? -
Returns KnownUpdateMemberRole associated with
value
, otherwise null.
Constants
-
values
→ const List<
KnownUpdateMemberRole> - A constant List of the values in this enum, in order of their declaration.