ApiService constructor
Implementation
ApiService(
this.endpoint, {
this.logsActivation = true,
}) : _client = GraphQLClient(
link: HttpLink('$endpoint/api'),
cache: GraphQLCache(),
defaultPolicies: DefaultPolicies(
query: Policies(
fetch: FetchPolicy.noCache,
error: ErrorPolicy.all,
),
),
);