Skip to main content

GraphqlConfig class

GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. Talawa uses graphQL for the integrating with the API's. You can go through talawa-api, here. GraphqlConfig class provides service to configure graph ql API with talawa mobile-app.

Constructors

GraphqlConfig

:

Properties

[displayImgRoute] [↔ String?]

: ::: features getter/setter pair :::

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

[httpLink] [↔ HttpLink]

: ::: features getter/setter pair :::

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

[webSocketLink] [↔ WebSocketLink]

: ::: features getter/setter pair :::

Methods

[authClient][ [→ GraphQLClient] ]

:

[clientToQuery][ [→ GraphQLClient] ]

:

getOrgUrl [→ void ] : This function is used to get the organization URL.

[getToken][ [→ Future] ] : This function is used to get user the access token.

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

test [→ void ]

:

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

Operators

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

Static Properties

[orgURI] [↔ String?]

: ::: features getter/setter pair :::

[token] [↔ String?]

: ::: features getter/setter pair :::

Constants

[imageUrlKey] [→ const String]

:

[urlKey] [→ const String]

:

  1. talawa
  2. graphql_config
  3. GraphqlConfig class
graphql_config library