GQLConfig constructor

GQLConfig({
  1. required String baseURL,
  2. TokenCallback? bearerToken,
  3. List<GQLAuthProvider>? authProviders,
  4. List<GQLExceptionParser>? exceptionParsers,
  5. List<GQLInterceptor>? interceptors,
  6. Map<String, String>? defaultHeaders,
  7. Store? cacheStore,
  8. FetchPolicy? queryPolicy,
  9. FetchPolicy? watchQueryPolicy,
  10. FetchPolicy? mutationPolicy,
  11. FetchPolicy? watchMutationPolicy,
  12. FetchPolicy? subscribePolicy,
  13. List<String>? responseNodePaths,
})

Implementation

GQLConfig({
  required this.baseURL,
  this.bearerToken,
  this.authProviders,
  this.exceptionParsers,
  this.interceptors,
  this.defaultHeaders,
  this.cacheStore,
  this.queryPolicy,
  this.watchQueryPolicy,
  this.mutationPolicy,
  this.watchMutationPolicy,
  this.subscribePolicy,
  this.responseNodePaths,
});