IndexerClient constructor

IndexerClient(
  1. String endpoint, {
  2. GraphQLCache? cache,
})

Implementation

IndexerClient(this.endpoint, { GraphQLCache? cache }) {
  final _httpLink = HttpLink(endpoint);
  client = GraphQLClient(link: _httpLink, cache: cache ?? GraphQLCache());
}