NiceAdminRole class

Role definition.

Constructors

NiceAdminRole({required String id, required String name, String? description, Color? color, bool isSystem = false, Map<String, List<String>> permissions = const {}, int userCount = 0})
const

Properties

color Color?
final
description String?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
isSystem bool
final
name String
final
permissions Map<String, List<String>>
Map of resourceId → List granted.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userCount int
final

Methods

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

Operators

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