GraphQLClient constructor

GraphQLClient(
  1. String baseEndpoint,
  2. Map<String, String> headers,
  3. 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()));