dispose method
void
dispose()
Detaches all listeners registered through this instance.
Call this from your form/viewmodel/widget lifecycle (e.g., dispose)
to avoid memory leaks and stale subscriptions.
Implementation
void dispose() {
for (final d in _disposers) {
d();
}
_disposers.clear();
}