onClose method
User-defined cleanup hook - called before internal disposal
Implementation
@override
void onClose() {
if (_isDisposed) return;
_isDisposed = true;
ZenLifecycleManager.instance
.removeLifecycleListener(_handleLifecycleChange);
unsubscribe();
_statusWorker?.dispose(); // Dispose worker explicitly
data.dispose();
error.dispose();
status.dispose();
_isLoadingNotifier?.dispose();
super.onClose();
}