FileDataProvider class

A DataProvider that uses a File as an data store.

Inheritance

Constructors

FileDataProvider(File file)
Create a new FileDataProvider.

Properties

hashCode int
The hash code for this object.
no setterinherited
length Future<int>
Get the length of this data.
no setteroverride
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
readByte(int position) Future<int>
Read the first byte at this position.
override
readBytes(int start, int end) Future<Uint8List>
Read the bytes from start to end.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int position) Future<int>
Read the first byte at this position.
inherited