FileServing class

Constructors

FileServing(List<FolderHost> _folders, {bool allowServingSubFolders = false, bool allowViewingEntityPath = false})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
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
serveResult(String path) ServingResult?
this will return either a file or a directory or null if there were no file nor a folder the path must be at the formula /(folder_alias)/(request_file.extension) or any other format that starts with the folder_alias then the path of the file or the sub folder
toString() String
A string representation of this object.
inherited

Operators

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