acceptFriendRequest method
- String requestId
Accept a friend request
Implementation
Future<Either<ApiError, Friendship>> acceptFriendRequest(
String requestId) async {
return post("$_routePrefix/accept/$requestId",
(json) => Friendship.fromJson(json as Map<String, dynamic>));
}