RoleSet class
Constructors
-
RoleSet({required RoleSetObjectEnum object, required String id, required String name, required String key, required String? description, List<RoleSetItem> roles = const [], RoleSetItem? defaultRole, RoleSetItem? creatorRole, required RoleSetTypeEnum type, RoleSetMigration? roleSetMigration, required int createdAt, required int updatedAt})
-
Returns a new RoleSet instance.
Properties
-
createdAt
↔ int
-
Unix timestamp of role set creation
getter/setter pair
-
creatorRole
↔ RoleSetItem?
-
The role assigned to the creator of an organization
getter/setter pair
-
defaultRole
↔ RoleSetItem?
-
The default role assigned to new organization members
getter/setter pair
-
description
↔ String?
-
Optional description of the role set
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
id
↔ String
-
The unique identifier of the role set
getter/setter pair
-
key
↔ String
-
A unique key for the role set (e.g., "role_set:default")
getter/setter pair
-
name
↔ String
-
The name of the role set
getter/setter pair
-
object
↔ RoleSetObjectEnum
-
getter/setter pair
-
roles
↔ List<RoleSetItem>
-
The list of roles in this role set
getter/setter pair
-
roleSetMigration
↔ RoleSetMigration?
-
Active migration information, only present when status is "enqueued" or "in_progress"
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
↔ RoleSetTypeEnum
-
The type of the role set ("initial" or "custom")
getter/setter pair
-
updatedAt
↔ int
-
Unix timestamp of last role set update
getter/setter pair