update method

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

use this method to move other screen or show popup

Implementation

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

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