clearAllStateData method
Clears all states and data by key
Implementation
bool clearAllStateData([Object? key]) {
if (errorStates.isNotEmpty || busyStates.isNotEmpty) {
clearErrors();
clearBusy();
update();
return true;
}
return false;
}