clearAllData method
Clears all data and states
Implementation
bool clearAllData() {
if (errorStates.isNotEmpty || busyStates.isNotEmpty) {
clearErrors();
clearBusy();
update();
return true;
}
return false;
}
Clears all data and states
bool clearAllData() {
if (errorStates.isNotEmpty || busyStates.isNotEmpty) {
clearErrors();
clearBusy();
update();
return true;
}
return false;
}