GraphQLClient constructor
GraphQLClient(
- String baseEndpoint,
- Map<
String, String> headers, - IntegrationId integrationId
Implementation
GraphQLClient(String baseEndpoint, Map<String, String> headers,
IntegrationId integrationId)
: _client = graphql.GraphQLClient(
link: graphql.HttpLink('$baseEndpoint/$integrationId/graphql',
defaultHeaders: headers),
cache: graphql.GraphQLCache(store: graphql.InMemoryStore()));