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