Permission class
A permission which can be included by a role.
Constructors
- Permission()
- Permission.fromJson(Map _json)
Properties
- apiDisabled ↔ bool
-
The service API associated with the permission is not enabled.
read / write
- customRolesSupportLevel ↔ String
-
The current custom role support level.
Possible string values are: [...]
read / write
- description ↔ String
-
A brief description of what this Permission is used for. This permission
can ONLY be used in predefined roles.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- name ↔ String
-
The name of this Permission.
read / write
- onlyInPredefinedRoles ↔ bool
-
read / write
- primaryPermission ↔ String
-
The preferred name for this permission. If present, then this permission
is an alias of, and equivalent to, the listed primary_permission.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- stage ↔ String
-
The current launch stage of the permission.
Possible string values are: [...]
read / write
- title ↔ String
-
The title of this Permission.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, Object> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited