Method that discards the object and notifies listeners
@mustCallSuper void dispose() { notifyDispose(); }