unfriend method

Future<Either<ApiError, Friendship>> unfriend(
  1. String friendId
)

Unfriend

Implementation

Future<Either<ApiError, Friendship>> unfriend(String friendId) async {
  return delete("$_routePrefix/$friendId",
      (json) => Friendship.fromJson(json as Map<String, dynamic>));
}