AccountService class abstract
Read and write account information and preferences. https://lichess.org/account/preferences/game-display.
- Mixed in types
- Implementers
Constructors
- AccountService()
-
Interface for this client.
const
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(
{bool force = false}) → Future< void> -
Close any resources associated with this object.
inherited
-
getEmailAddress(
) → Future< String> - Read the email address of the logged in user.
-
getKidModeStatus(
) → Future< bool> - Read the kid mode status of the logged in user.
-
getMyPreferences(
) → Future< UserPreferences> - Read the preferences of the logged in user.
-
getProfile(
) → Future< User> - Public information about the logged in user.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setMyKidModeStatus(
{required bool enableKidMode}) → Future< void> - Set the kid mode status of the logged in user.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited