messages property
The stream of incoming messages, wrapped into WrappedMessages.
Implementation
Stream<WrappedMessage> get messages => _serial.stream
.map((packet) => WrappedMessage(data: packet, name: deviceToDataName(device)));
The stream of incoming messages, wrapped into WrappedMessages.
Stream<WrappedMessage> get messages => _serial.stream
.map((packet) => WrappedMessage(data: packet, name: deviceToDataName(device)));