connectionStream property

Stream<bool> get connectionStream

Emits real-time updates when network connectivity changes.

Useful for building reactive UIs or triggering background syncs.

Implementation

Stream<bool> get connectionStream => _connectivitySubject.stream;