On this page
LineSplitter class
A StreamTransformer that splits a String into individual lines.
A line is terminated by either a CR (U+000D), a LF (U+000A), a CR+LF sequence (DOS line ending), and a final non-empty line can be ended by the end of the string.
The returned lines do not contain the line terminators.
Static Methods
- split(
String lines, [ int start = 0, int end ]) → Iterable<String>  - 
    
Split
linesinto individual lines. 
Constructors
- LineSplitter() 
    const
 
Properties
- hashCode → int
    read-only, inherited
 - 
    
The hash code for this object.
 - runtimeType → Type
    read-only, inherited
 - 
    
A representation of the runtime type of the object.
 
Operators
- operator ==(
other) → bool inherited - 
    
The equality operator.
 
Methods
- bind(
Stream<String> stream) → Stream  - 
    
Transforms the provided
stream. - convert(
String data) → List<String>  - 
    
Converts
inputand returns the result of the conversion. - startChunkedConversion(
Sink<String> sink) → StringConversionSink  - 
    
Starts a chunked conversion.
 - fuse<TT>(
Converter<List<String>, TT> other) → Converter<String, TT> inherited - 
    
Fuses
thiswithother. - noSuchMethod(
Invocation invocation) → dynamic inherited - 
    
Invoked when a non-existent method or property is accessed.
 - toString(
) → String inherited - 
    
Returns a string representation of this object.
 
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
 https://api.dartlang.org/stable/1.24.3/dart-convert/LineSplitter-class.html