messages property

  1. @override
Stream<String> get messages
override

Inbound text frames. The stream completing (done or error) means the connection is gone — the repository reconnects through its transport.

Implementation

@override
Stream<String> get messages =>
    _ws.where((frame) => frame is String).cast<String>().asBroadcastStream();