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

displayImgRouteString?

read / write

hashCodeint

The hash code for this object.
read-onlyinherited

read / write

runtimeTypeType

A representation of the runtime type of the object.
read-onlyinherited

read / write

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.
inherited

test() void
toString() String

A string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator.
inherited

Static Properties

orgURIString?

read / write

tokenString?

read / write

Constants

imageUrlKey const String
urlKey const String