Skip to main content

Queries class

This class returns some queries for the application.

Constructors

Queries

:

Properties

[fetchJoinInOrg] [→ String] : getter for joined org. ::: features no setter :::

[fetchJoinInOrgByName] [→ String] : getter for fetchJoinInOrgByName. ::: features no setter :::

[fetchUserInfo] [↔ String] : mutation in string form, to be passed on to graphql client.. ::: features getter/setter pair :::

[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

[createDonation][([[String] userId, ][[String] orgId, ][[String] nameOfOrg, ][[String] nameOfUser, ][[String] payPalId, ][[double] amount]) [→ String] ] : createDonation creates a new donation transaction by taking the userId ,orgId ,nameOfOrg ,nameOfUser as parameters.

[fetchOrgById][([[String] orgId]) [→ String] ] : fetching org details with the help of id.

[fetchOrgDetailsById][([[String] orgId]) [→ String] ] : query to fetch org details.

[getPluginsList][ [→ String] ] : getPluginList queries all properties of pluginList from the server.

[joinOrgById][([[String] orgId]) [→ String] ] : make mutation string for joiining org by ord.id.

[loginUser][([[String] email, ][[String] password]) [→ String] ] : mutation to login the user.

[logout][ [→ String] ] : logout muiation.

[newUserLanguage][([[String] userId]) [→ String] ] : query for new user language .

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

[refreshToken][([[String] refreshToken]) [→ String] ] : mutation for refresh token.

[registerUser][([[String] firstName, ][[String] lastName, ][[String] email, ][[String] password, ][[String?] selectedOrganization]) [→ String] ] : Mutation to register a user.

[sendMembershipRequest][([[String] orgId]) [→ String] ] : mutation to send the member request.

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

[updateLanguage][([[String] languageCode]) [→ String] ] : lang update mutation.

[updateUserProfile][ [→ String] ] : to update user profile.

[userLanguage][ [→ String] ] : query to fetch user lang.

[venueListQuery][ [→ String] ] : Query to get the list of Venues in an organisation.

Operators

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

  1. talawa
  2. queries
  3. Queries class
queries library