dismissAll method

void dismissAll({
  1. bool delayForAnimation = true,
})

dismisses all notifications that are currently showing in the screen

The delayForAnimation parameter is used to determine whether to wait for the animation to finish or not.

Implementation

void dismissAll({bool delayForAnimation = true}) {
  for (final manager in managers.values) {
    manager.dismissAll(delayForAnimation: delayForAnimation);
  }
}