followUser abstract method

  1. @override
  2. @POST('/api/rel/follow/{username}')
Future<void> followUser({
  1. @Path() required String username,
})
override

Follow a player, adding them to your list of Lichess friends.

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

Implementation

@override
@POST('/api/rel/follow/{username}')
Future<void> followUser({@Path() required String username});