copyWithPollInterval method

WatchQueryOptions<TParsed> copyWithPollInterval(
  1. Duration? pollInterval
)

Implementation

WatchQueryOptions<TParsed> copyWithPollInterval(Duration? pollInterval) =>
    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,
    );