Permission class

A permission which can be included by a role.


Permission.fromJson(Map _json)


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.
read / write
name ↔ String
The name of this Permission.
read / write
onlyInPredefinedRoles ↔ bool
This permission can ONLY be used in predefined roles.
read / write
stage ↔ String
The current launch stage of the permission. Possible string values are: [...]
read / write
title ↔ String
The title of this Permission.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.