messages property
Stream of incoming JSON-RPC messages (already decoded from JSON).
Implementation
@override
Stream<Map<String, dynamic>> get messages {
if (_messageController == null) {
throw StateError('Transport not connected. Call connect() first.');
}
return _messageController!.stream;
}