Member class

Constructors

Member(Client client, {required User user, required List<Role> roles, required Server server, String? nickname, File? avatar})
Member.fromJSON(Client client, Map<String, dynamic> data)

Properties

avatar File?
Present if the user has an avatar override for this server
getter/setter pair
client Client
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
User ID
getter/setter pair
nickname String?
Present if the user has a nickname in this server
getter/setter pair
roles List<Role>
Array of the roles this user has
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server Server
The server this member is from
getter/setter pair
user User
getter/setter pair

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