update method
use this method to move other screen or show popup
Implementation
update({S? state}) {
_add(state: state);
try {
notifyListeners();
} catch (_) {}
}
use this method to move other screen or show popup
update({S? state}) {
_add(state: state);
try {
notifyListeners();
} catch (_) {}
}