Skip to main content

PostQueries class

This class creates queries related to posts.

Constructors

PostQueries

:

Properties

[hashCode] [→ int] : The hash code for this object. ::: features no setterinherited :::

[runtimeType] [→ Type] : A representation of the runtime type of the object. ::: features no setterinherited :::

Methods

[addLike][ [→ String] ] : Add Like to a post.

[getPostById][([[String] postId]) [→ String] ] : Getting Post by Post Id.

[getPostsById][([[String] orgId, ][[String?] after, ][[String?] before, ][[int?] first, ][[int?] last]) [→ String] ] : Getting Posts by Id.

[noSuchMethod][([[Invocation] invocation]) → dynamic ] : Invoked when a nonexistent method or property is accessed. ::: features inherited :::

[removeLike][ [→ String] ] : Remove Like from a post.

[removePost][ [→ String] ] : Mutation to remove the post.

[toString][ [→ String] ] : A string representation of this object. ::: features inherited :::

[uploadPost][ [→ String] ] : Upload a post to database.

Operators

[operator ==][([[Object] other]) [→ bool] ] : The equality operator. ::: features inherited :::

  1. talawa
  2. post_queries
  3. PostQueries class
post_queries library