connectionState property

Stream<bool> connectionState

A Stream that will notify any listener of any socket status update (opened/closed)

Implementation

Stream<bool> get connectionState => _connectionStateController.stream;