addLike method
- [[String] postID]
)
Method to add like on a Post.
This method basically update likedBy list of a Post in database.
params:
postID
: ID of the post to add like in database
returns:
Future<void>
: define_the_return
Implementation
Future<bool> addLike(String postID) async
- talawa
- post_service
- PostService
- addLike method