deleteFollow method

Future<void> deleteFollow(
  1. int userId
)

取消关注用户
userId - 用户ID

Implementation

Future<void> deleteFollow(int userId) async {
  await _httpClient.post<String>(
    '/v1/user/follow/delete',
    data: FormData.fromMap(
      {
        'user_id': userId,
      },
    ),
  );
}