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