onDisconnect property

Stream<DisconnectReason> get onDisconnect

Stream of disconnection events

Implementation

Stream<DisconnectReason> get onDisconnect =>
    _disconnectStreamController.stream;