Skip to main content

GraphqlConfig class

<p>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, <a href="https:github.com/PalisadoesFoundation/talawa-api">here</a>. GraphqlConfig class provides service to configure graph ql API with talawa mobile-app.</p>

Constructors

GraphqlConfig ()

Properties

displayImgRouteString?

<span class="feature">read / write</span>

hashCodeint

The hash code for this object.
<span class="feature">read-only</span><span class="feature">inherited</span>

<span class="feature">read / write</span>

runtimeTypeType

A representation of the runtime type of the object.
<span class="feature">read-only</span><span class="feature">inherited</span>

<span class="feature">read / write</span>

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 non-existent method or property is accessed.
<span class="feature">inherited</span>

test() void
toString() String

A string representation of this object.
<span class="feature">inherited</span>

Operators

operator ==(Object other) bool

The equality operator.
<span class="feature">inherited</span>

Static Properties

orgURIString?

<span class="feature">read / write</span>

tokenString?

<span class="feature">read / write</span>

Constants

imageUrlKey const String
urlKey const String