Role class

Constructors

Role(Client client, {required String id, required String name, required RolePermissions permissions, required String? color})

Properties

client Client
The Client that created this Object
getter/setter pair
color String?
The role's hex color
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
The role's ID
getter/setter pair
name String
The role's name
getter/setter pair
permissions RolePermissions
The role's permissions
getter/setter pair
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
toString() String
A string representation of this object.
inherited

Operators

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