destroy method
void
destroy()
Unistalls all listeners.
Implementation
void destroy() {
_subs.forEach((sub) => sub.cancel());
_subs.clear();
}
Unistalls all listeners.
void destroy() {
_subs.forEach((sub) => sub.cancel());
_subs.clear();
}