clearListeners method
Cancel all subscriptions that exist on this ActionV2 as a result of listen being called. Useful when tearing down a flux cycle in some module or unit test.
Implementation
@Deprecated('Use (and await) dispose() instead. $v3Deprecation')
void clearListeners() {
_listeners.clear();
}