LocalFile class

A reference to a file on the file system.

Inheritance

Constructors

LocalFile(String path)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
name String
read-only, override
path String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
read(FileDataType type) Future<FileData>
inherited
readAsBytes() Future<Uint8List>
override
readAsString() Future<String>
override
readDataOfExactType<T extends FileData>() Future<T>
inherited
toString() String
A string representation of this object. [...]
inherited
write(FileData data) Future
inherited
writeAsBytes(Uint8List bytes) Future
override
writeAsString(String contents) Future
override

Operators

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