RelationsService class abstract

Access relations between users.

https://lichess.org/api#tag/Relations

Mixed in types
Implementers

Constructors

RelationsService()
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
followUser({required String username}) Future<void>
Follow a player, adding them to your list of Lichess friends.
getFollowing() Future<List<User>>
Get users followed by the logged in user.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unfollowUser({required String username}) Future<void>
Unfollow a player, removing them from your list of Lichess friends.

Operators

operator ==(Object other) bool
The equality operator.
inherited