TailFile class abstract

Read a stream of bytes from a file as it is written to.

Available extensions

Constructors

TailFile(File file, {bool seekToEnd = true})
Setup tailing of file from the end of the file.
factory

Properties

asLines → Stream<String>

Available on TailFile, provided by the TailLines extension

Convert the stream of bytes to utf8 lines.
no setter
asStrings → Stream<String>

Available on TailFile, provided by the TailString extension

Convert the stream of bytes to utf8 strings.
no setter
hashCode → int
The hash code for this object.
no setterinherited
position → int
The current position in the tailed file.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stream → Stream<Uint8List>
Stream of bytes as the file is written to.
no setter

Methods

close() → Future<void>
Stops tailing the file and cleans up any resources.
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