FileReader class
Reads sections from a dart:io File.
- Inheritance
-
- Object
- AbstractBlobReader
- FileReader
Constructors
- FileReader(File file)
-
Creates a
FileReaderwith the givenFile.
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
ByteDatain the given section. Thestartis inclusive, theendis exclusive.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited