A provider that can describe an account by its id, for the account endpoints that act on the signed-in person rather than on credentials.
Separate from AuthProvider so a provider that cannot answer is still a provider: what depends on it degrades to the user id rather than failing.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
userById(
String id) → Future< AuthUser?> -
The account with
id, or null when there is none.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited