resetData method
Reset all data and error to loading
state if updateViewState
is true only.
if updateViewState
is false, only notifyListener and update ManagerProcessState.
Implementation
Future<void> resetData({bool updateViewState = true}) async {
Future.microtask(() {
if (_disposed) return;
value = value.reset(updateViewState);
});
}