GQLConfig constructor
GQLConfig({
- required String baseURL,
- TokenCallback? bearerToken,
- List<
GQLAuthProvider> ? authProviders, - List<
GQLExceptionProvider> ? exceptionProviders, - Map<
String, String> ? defaultHeaders, - Store? cacheStore,
- FetchPolicy? queryPolicy,
- FetchPolicy? watchQueryPolicy,
- FetchPolicy? mutationPolicy,
- FetchPolicy? watchMutationPolicy,
- FetchPolicy? subscribePolicy,
- List<
String> ? responseNodePaths,
Implementation
GQLConfig({
required this.baseURL,
this.bearerToken,
this.authProviders,
this.exceptionProviders,
this.defaultHeaders,
this.cacheStore,
this.queryPolicy,
this.watchQueryPolicy,
this.mutationPolicy,
this.watchMutationPolicy,
this.subscribePolicy,
this.responseNodePaths,
});