UserCapability enum

Represents the different capabilities a user can possess within the application.

Each capability grants the user specific access rights and features tailored to their role.

Inheritance

Constructors

UserCapability()
const

Values

dev → const UserCapability

Users with this capability are members of the development team.

They have exclusive access to development-specific features and statistics.

This role is typically reserved for those involved in the app's development and maintenance.

moderator → const UserCapability

Users with this capability act as moderators within the platform.

For example, they have the authority to access and manage user feedback.

and perform other moderation tasks.

teacher → const UserCapability

Teacher Capability

Users with this capability are recognized as teachers or educators.

They have access to features that allow them to e.g. manage and create time slots.

student → const UserCapability

Users with this capability are identified as students or learners.

They can access features tailored to their planning experience (e.g. the calendar view)

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
index → int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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

Constants

values → const List<UserCapability>
A constant List of the values in this enum, in order of their declaration.
[dev, moderator, teacher, student]