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