LineReader class Null safety

Converts a Stream<List | int> to Stream that fires an event for every line of data in the original Stream.

Constructors

LineReader(Stream stream, {Encoding encoding: systemEncoding})
Only encodings that are a superset of ASCII are supported TODO(DrMarcII): Support arbitrary encodings

Properties

encoding Encoding
final
hashCode int
The hash code for this object. [...]
read-only, inherited
onLine Stream<String>
A Stream that fires for each line of data.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

CR → const int
13
LF → const int
10