GroupPermission class

Annotations
  • @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)

Constructors

GroupPermission({String? name, String? displayName, String? help, bool? isManagementPermission = false, bool? allowedToAdd = false})
Returns a new GroupPermission instance.
GroupPermission.fromJson(Map<String, dynamic> json)
factory

Properties

allowedToAdd bool?
Whether the user is allowed to add this permission to a role.
final
displayName String?
The display name of the permission.
final
hashCode int
The hash code for this object.
no setteroverride
help String?
Human-readable description of the permission.
final
isManagementPermission bool?
Whether this permission is a "management" permission.
final
name String?
The name of the permission.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
override

Operators

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