tokenize method

void tokenize([
  1. String token = ''
])

Implementation

void tokenize([final String token = '']) =>
  _client = GraphQLClient(
    cache: _cache,
    defaultPolicies: DefaultPolicies(
      query: _policies,
      mutate: _policies
    ),
    link: AuthLink(
      getToken: () async => 'Bearer $token'
    ).concat(_link)
  );