WatchOptions$Query$getPlayerById constructor

WatchOptions$Query$getPlayerById({
  1. String? operationName,
  2. required Variables$Query$getPlayerById variables,
  3. FetchPolicy? fetchPolicy,
  4. ErrorPolicy? errorPolicy,
  5. CacheRereadPolicy? cacheRereadPolicy,
  6. Object? optimisticResult,
  7. Query$getPlayerById? typedOptimisticResult,
  8. Context? context,
  9. Duration? pollInterval,
  10. bool? eagerlyFetchResults,
  11. bool carryForwardDataOnException = true,
  12. bool fetchResults = false,
})

Implementation

WatchOptions$Query$getPlayerById({
  String? operationName,
  required Variables$Query$getPlayerById variables,
  graphql.FetchPolicy? fetchPolicy,
  graphql.ErrorPolicy? errorPolicy,
  graphql.CacheRereadPolicy? cacheRereadPolicy,
  Object? optimisticResult,
  Query$getPlayerById? typedOptimisticResult,
  graphql.Context? context,
  Duration? pollInterval,
  bool? eagerlyFetchResults,
  bool carryForwardDataOnException = true,
  bool fetchResults = false,
}) : super(
        variables: variables.toJson(),
        operationName: operationName,
        fetchPolicy: fetchPolicy,
        errorPolicy: errorPolicy,
        cacheRereadPolicy: cacheRereadPolicy,
        optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
        context: context,
        document: documentNodeQuerygetPlayerById,
        pollInterval: pollInterval,
        eagerlyFetchResults: eagerlyFetchResults,
        carryForwardDataOnException: carryForwardDataOnException,
        fetchResults: fetchResults,
        parserFn: _parserFn$Query$getPlayerById,
      );