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