DVFileBindings class

Registers the file bindings against register.

root is the only directory these may touch. Passing the filesystem root is possible and is a decision the application has to make explicitly rather than get by default.

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
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

isRegistered → bool
no setter
root → String
The directory every path resolves inside.
no setter

Static Methods

register(String root, void register(String name, Object? handler(Object?))) → bool
Registers the three bindings, confined to root.
reset() → void
For tests: forgets the registration so a different root can be used.