postLike method
Implementation
Future<bool> postLike(bool isLiked, Post post) async {
if (isLiked) {
if (likeunlikeProcces.value) {
return isLiked;
}
//Beğenmeme fonksiyonu
unlikepost(post);
} else {
likepost(post);
}
return !isLiked;
}