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