StringInputStream looked like the right name, but rather than make an InputStream out of a String, it wraps an existing InputStream to read lines out of it.
I tried to find a base InputStream class to extend and ended up finding stream_utils.dart which I had to copy into my project in order to use.
Will there be ways to create InputStreams and OutputStreams for Strings, byte arrays and such?
Here’s how you can do it: