FileReader class

Reads sections from a dart:io File.

Inheritance

Constructors

FileReader(File file)
Creates a FileReader with the given File.

Properties

byteLength FutureOr<int>
Returns the size of the blob.
no setteroverride
file File
final
hashCode int
The hash code for this object.
no setterinherited
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
readSlice(int start, int end) Future<ByteData>
Returns the bytes as ByteData in the given section. The start is inclusive, the end is exclusive.
override
toString() String
A string representation of this object.
inherited

Operators

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