GqlModule constructor

GqlModule(
  1. String _protocol,
  2. String _host
)

Implementation

GqlModule(this._protocol, this._host):
  _cache = GraphQLCache(),
  _link = HttpLink(
    '$_protocol://$_host/graphql',
  ),
  _policies = Policies(
    cacheReread: CacheRereadPolicy.ignoreAll,
    fetch: FetchPolicy.noCache
  );