Role enum

The database system has three types of users: user, securityOfficer, administrator.

Constants

administrator → const Role

Role.administrator: Perform the tasks of all the above.

const Role(2)
securityOfficer → const Role

Role.securityOfficer: Manges users and passwords. Also, they perform backup and recovery operations.

const Role(1)
user → const Role

Role.user: Users who are allowed to perform only DML operations.

const Role(0)
values → const List<Role>

A constant List of the values in this enum, in order of their declaration.

const List<Role>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited