UserService class abstract
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → FutureOr< void> -
getBannedUsers(
) → FutureOr< List< SetonixUser> > -
getUser(
String fingerprint) → FutureOr< SetonixUser?> -
getUserFromName(
String name) → FutureOr< SetonixUser?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replaceRole(
String role, String replacement) → FutureOr< bool> -
toString(
) → String -
A string representation of this object.
inherited
-
updateUser(
String fingerprint, {String? name, bool? onWhitelist, Set< String> ? roles, bool? banned, DateTime? bannedUntil, String? banReason, DateTime? lastLogin, bool createIfNotExists = false}) → FutureOr<bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited