copyWithFetchPolicy method

WatchQueryOptions<Query$GetLastCommits> copyWithFetchPolicy(
  1. FetchPolicy? fetchPolicy
)
inherited

Implementation

WatchQueryOptions<TParsed> copyWithFetchPolicy(
  FetchPolicy? fetchPolicy,
) =>
    WatchQueryOptions<TParsed>(
      document: document,
      operationName: operationName,
      variables: variables,
      fetchPolicy: fetchPolicy,
      errorPolicy: errorPolicy,
      cacheRereadPolicy: cacheRereadPolicy,
      optimisticResult: optimisticResult,
      pollInterval: pollInterval,
      fetchResults: fetchResults,
      eagerlyFetchResults: eagerlyFetchResults,
      carryForwardDataOnException: carryForwardDataOnException,
      context: context,
      parserFn: parserFn,
    );