GraphQLAPI class
This class works as abstraction for GraphQL api connections
Constructors
Properties
- apiLink ↔ Link
-
getter/setter pair
- apiUrl ↔ String
-
getter/setter pair
- cache ↔ GraphQLCache?
-
getter/setter pair
- client ↔ AdeptGraphQLClient
-
getter/setter pair
-
clientNotifier
↔ ValueNotifier<
AdeptGraphQLClient> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient ↔ Client?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout ↔ Duration?
-
getter/setter pair
- wsApiUrl ↔ String?
-
getter/setter pair
Methods
-
getGenericLocalizedMessageFromException(
dynamic exception) → String? -
getLocalizedMessageFromException(
dynamic exception) → String? - Implement this method when checked what exceptions could be
-
getLocalizedMessageFromHttpResultCode(
int? code) → String? -
getLocalizedMessageFromResponse(
{QueryResponse? response, int? code}) → String? -
init(
{Link? link, String? apiUrl, String? wsApiUrl, GetToken? getToken, Duration? timeout, SocketClientConfig? socketClientConfig, void onSocketData(dynamic event)?, void onSocketConnected()?, void onSocketDisconnected()?, void onSocketError(dynamic error)?, Client? httpClient}) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited