NullFileProvider class

An empty file provider with no contents.

Implemented types

Constructors

NullFileProvider()

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

getDirectoryContents(String subpath) → DirectoryContents
Enumerate a non-existent directory.
override
getFileInfo(String subpath) → FileInfo
Locate a non-existent file.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
watch(String filter) → ChangeToken
Returns a ChangeToken that monitors nothing.
override

Operators

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