QueryState<T>.pending constructor
QueryState<T>.pending ()
Creates the initial state before data has been fetched.
Implementation
factory QueryState.pending() => QueryState<T>(
status: QueryStatus.pending,
fetchStatus: QueryFetchStatus.idle,
hasData: false,
data: null,
dataUpdatedAt: null,
error: null,
errorStackTrace: null,
errorUpdatedAt: null,
dataUpdateCount: 0,
errorUpdateCount: 0,
fetchFailureCount: 0,
fetchFailureReason: null,
isInvalidated: false,
fetchMeta: null,
);