copyWithOptimisticResult method

WatchQueryOptions<Query$GetLastCommits> copyWithOptimisticResult(
  1. Object? optimisticResult
)
inherited

Implementation

WatchQueryOptions<TParsed> copyWithOptimisticResult(
        Object? optimisticResult) =>
    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,
    );