Files class

A class to handle file operations on the Frame device.

Constructors

Files(Frame frame)

Properties

frame Frame
final
hashCode int
The hash code for this object.
no setterinherited
logger → Logger
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteFile(String path) Future<bool>
Deletes a file on the Frame device.
fileExists(String path) Future<bool>
Checks if a file exists on the Frame device.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFile(String path) Future<Uint8List>
Reads a file from the Frame device.
toString() String
A string representation of this object.
inherited
writeFile(String path, dynamic data, {bool checked = false}) Future<void>
Writes data to a file on the Frame device.

Operators

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