ServerState class final
- Annotations
Constructors
-
ServerState({String? link, List<
PlayerInfo> players = const [], List<BannedUserInfo> bannedUsers = const [], Map<String, ServerRoleDefinition> serverRoles = const {}, Set<String> permissions = const {}, Set<String> assignableServerRoles = const {}}) -
const
Properties
-
assignableServerRoles
→ Set<
String> -
final
-
bannedUsers
→ List<
BannedUserInfo> -
final
-
copyWith
→ ServerStateCopyWith<
ServerState, ServerState, ServerState> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- link → String?
-
final
-
permissions
→ Set<
String> -
final
-
players
→ List<
PlayerInfo> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serverRoles
→ Map<
String, ServerRoleDefinition> -
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