removeLike method
[Future[<[bool]>]] removeLike(
- [[String] postID]
)
Method to remove like in a Post.
This method basically update likedBy list of a Post and removes the like of a user in database.
params:
postID
: ID of the post to remove like in database.
returns:
Future<void>
: nothing
Implementation
Future<bool> removeLike(String postID) async
- talawa
- post_service
- PostService
- removeLike method