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