UserManager class final
Constructors
- UserManager.new({UserService? service, bool whitelistEnabled = SetonixConfig.defaultWhitelistEnabled, String guestPrefix = SetonixConfig.defaultGuestPrefix})
Properties
- guestPrefix → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → UserService?
-
final
- whitelistEnabled → bool
-
final
Methods
-
addUser(
Channel channel, [String? fingerprint, String? name]) → Future< SetonixUser?> -
changeName(
Channel channel, String newName) → Future< bool> -
containsUserName(
String name) → bool -
getUser(
Channel channel) → SetonixUser? - Retrieves the user associated with the channel.
-
getUserByName(
String name) → SetonixUser? - Retrieves a user by name.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeUser(
Channel channel) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited