addSubscription method
A generic method to add an event subscription which will also get cancelled when unloadEventHandlers is called.
Implementation
void addSubscription(StreamSubscription subs) {
_eventSubscriptions.add(subs);
}
A generic method to add an event subscription which will also get cancelled when unloadEventHandlers is called.
void addSubscription(StreamSubscription subs) {
_eventSubscriptions.add(subs);
}