Role class
Represents the data structure for a role in RBAC.
Properties
Methods
-
addRole(
Role role) → void -
deleteRole(
Role role) → void -
getRoles(
) → List< String> -
hasDirectRole(
String name) → bool -
hasRole(
String name, int hierarchyLevel) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited