state method

QueryState<T>? state(
  1. QueryClient client
)

The entry's state, or null when there is no entry. Its hasData is what tells a cached null from no data.

Implementation

QueryState<T>? state(QueryClient client) => key.state(client);