LineReader class

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.
no setterinherited
onLine Stream<String>
A Stream that fires for each line of data.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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
lf → const int