disposeWith method
Register for dispose with given observer
.
Implementation
void disposeWith(DisposeObserver observer) => observer.registerDispose(this);
Register for dispose with given observer
.
void disposeWith(DisposeObserver observer) => observer.registerDispose(this);