placeholderData property

PlaceholderData<TQueryData>? placeholderData
final

Data shown while the query has none of its own — see PlaceholderData. No default: unset, an observer without data reports a pending result. Never written to the cache: a result built from it reports isPlaceholderData, and it gives way the moment real data arrives.

Implementation

final PlaceholderData<TQueryData>? placeholderData;