subscription property

StreamSubscription<List<ConnectivityResult>>? subscription
getter/setter pair

Stream subscription for connectivity changes.

Holds the subscription to the connectivity stream when checkInternetConnectivity is enabled. Automatically cancelled in dispose to prevent memory leaks.

Implementation

StreamSubscription<List<ConnectivityResult>>? subscription;