Permission class

A permission which can be included by a role.

Constructors

Permission({bool? apiDisabled, String? customRolesSupportLevel, String? description, String? name, bool? onlyInPredefinedRoles, String? primaryPermission, String? stage, String? title})
Permission.fromJson(Map json_)

Properties

apiDisabled bool?
The service API associated with the permission is not enabled.
getter/setter pair
customRolesSupportLevel String?
The current custom role support level. Possible string values are:
getter/setter pair
description String?
A brief description of what this Permission is used for.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of this Permission.
getter/setter pair
onlyInPredefinedRoles bool?
getter/setter pair
primaryPermission String?
The preferred name for this permission.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stage String?
The current launch stage of the permission. Possible string values are:
getter/setter pair
title String?
The title of this Permission.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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