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
Properties
displayImgRoute ↔ String?
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
httpLink ↔ HttpLink
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
webSocketLink ↔ WebSocketLink
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
orgURI ↔ String?
read / write
token ↔ String?
read / write