PlayerInfo class final

Annotations

Constructors

PlayerInfo({required Channel id, String? name, Set<String> serverRoles = const {kDefaultServerRole}, Set<String> gameRoles = const {}, bool registered = false, bool manageable = false})
const

Properties

copyWith → PlayerInfoCopyWith<PlayerInfo, PlayerInfo, PlayerInfo>
no setterinherited
gameRoles Set<String>
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
manageable bool
final
name String?
final
registered bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverRoles Set<String>
final

Methods

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

Operators

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