SharedStdIn constructor
Creates a new SharedStdIn sharing the stream.
If you only use this class with stdin, you should use the sharedStdIn singleton.
Calling this constructor more than once with the same source stream
will likely result in an error.
Implementation
factory SharedStdIn(Stream<List<int>> stream) => SharedStdIn._(stream);