removeFromFollower function
Implementation
Future<String> removeFromFollower({required int followerId}) async {
appStore.setLoading(true);
Map req = {FriendKey.followers: followerId, FriendKey.following: appStore.userId};
try {
var res = FollowersModel.fromMap(await (handleResponse(await buildHttpResponse(APIEndPoint.removeFollowers, request: req, method: HttpMethod.POST))));
appStore.setLoading(false);
return res.message.validate();
} catch (e) {
appStore.setLoading(false);
throw errorSomethingWentWrong;
}
}