clear method

void clear()

Clears all registered handlers (used in tests).

Implementation

void clear() => _handlers.clear();