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