DVDirectoryAssets class final

A site in a directory, as dartvel dev and dartvel preview serve it.

Implemented types

Constructors

DVDirectoryAssets(String root)

Properties

buildId → String?
Names every file this source holds, for a cache of it that outlives the process; null for a directory, whose files change under it.
no setteroverride
embedded → bool
Whether the files are carried inside this executable.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
root → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

file(String path) → DVAssetFile?
The file at path -- relative, with /, as dvAssetPath returns it -- or null when there is none. A directory is not a file.
override
list() → Iterable<String>
Every file's path, relative, with /.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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