update method

dynamic update({
  1. LoginViewState? state,
})
inherited

use this method to move other screen or show popup

Implementation

update({S? state}) {
  _add(state: state);

  try {
    notifyListeners();
  } catch (_) {}
}