retry property
Whether a failed fetch is retried. The default: RetryPolicy.times(3),
three retries after the first failure (TanStack Query: retry: 3).
QueryClient.query is the exception: when neither these options nor
the client's defaults set retry, its fetch is not retried.
Implementation
final RetryPolicy? retry;