FileStore class

A local folder; serve it with any static file server.

Implemented types

Constructors

FileStore(Directory root)

Properties

hashCode → int
The hash code for this object.
no setterinherited
root → Directory
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

describe(String key) → String
Human-readable location of key.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String key) → Future<List<int>?>
Returns the object's bytes, or null if it does not exist.
override
toString() → String
A string representation of this object.
inherited
write(String key, List<int> bytes, {required String contentType, required String cacheControl}) → Future<void>
override

Operators

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