QueryResultNotifier<T> constructor
Null safety
- [AsyncQueryResult<
T> ? initialState]
Create new ValueNotifier
Optional initialState
can be used to set the initial state of the notifier.
PendingResult is used if not specified
Implementation
QueryResultNotifier([AsyncQueryResult<T>? initialState])
: super(initialState ?? AsyncQueryResult<T>());