stringStream property

Stream<String> stringStream

transform the data stream into a stream of strings... invalid characters will be decoded to the unicode replacement character U+FFFD (�)

NOTE: This adds a listener onto the dataStream, so you should only listen to one of them, either stringStream or dataStream.

Implementation

Stream<String> get stringStream => dataStream.map((e) => utf8.decode(e, allowMalformed: true));