ActionResultNotifier constructor

ActionResultNotifier([
  1. 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());