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-onlyinherited
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-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
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