unfollow method
Unfollow the given account.
POST /api/v1/accounts/:id/unfollow
- authenticated
- write:follows
Implementation
Future<Relationship> unfollow(String id) async {
final response = await request(
Method.post,
"/api/v1/accounts/$id/unfollow",
authenticated: true,
);
return Relationship.fromJson(json.decode(response.body));
}