Role enum

Inheritance
Available extensions

Values

mRoleAdmin → const Role
const Role('m.role.admin')
mRoleSecurity → const Role
const Role('m.role.security')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isMRoleAdmin → bool

Available on Role, provided by the RoleEnhancedEnum extension

no setter
isMRoleSecurity → bool

Available on Role, provided by the RoleEnhancedEnum extension

no setter
name → String
final
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
name → String

Available on Role, provided by the RoleEnhancedEnum extension

no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

maybeWhen<T>({T? mRoleAdmin()?, T? mRoleSecurity()?, required T orElse()}) → T

Available on Role, provided by the RoleEnhancedEnum extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
when<T>({required T mRoleAdmin(), required T mRoleSecurity()}) → T

Available on Role, provided by the RoleEnhancedEnum extension

Operators

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

Constants

values → const List<Role>
A constant List of the values in this enum, in order of their declaration.