Get method to return the stream from stream controller
Stream<bool> get onConnectionChange => _streamController.stream;