state property

  1. @override
Stream<bool> get state
override

Implementation

@override
Stream<bool> get state => _stateChannel
    .receiveBroadcastStream()
    .map((event) => event['connected'] as bool);