dropAll method

void dropAll(
  1. DropReason reason
)

Removes every held trigger with reason.

Implementation

void dropAll(DropReason reason) {
  for (final trigger in takeAll()) {
    _onDrop(trigger, reason);
  }
}