removeLike method
Future<void> removeLike (String postID)
<p>This function is used to remove like from the Post.</p> <p>params:</p> <ul> <li><code>postId</code> : id of the post where like need to be removed.</li> </ul>
Implementation
Future\<void\> removeLike(String postID) async \{
_removeLocal(postID);
final String mutation = PostQueries().removeLike();
final result = await _dbFunctions
.gqlAuthMutation(mutation, variables: \{"postID": postID\});
print(result);
return result;
\}