HTOverlayContext class

HTOverlayContext are a virtual set of files that not neccessarily exists as physical files.

HTOverlayContext will not scan physical disk, instead it depends on addResource method to manage sources

Inheritance

Constructors

HTOverlayContext({String? root, Map<String, HTSource>? cache})

Properties

binaryModuleExtensions List<String>
no setterinherited
expressionModuleExtensions List<String>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
included Set<String>
final
root String
Create a HTFileSystemContext Create a HTOverlayContext
latefinaloverride-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addResource(String fullName, HTSource resource) → void
override
checkExtension(String ext) HTResourceType
inherited
contains(String key) bool
override
getAbsolutePath({String key = '', String? dirName, String? fileName}) String
Get a unique absolute normalized path.
inherited
getResource(String key, {String? from}) HTSource
Import a resource with a certain key, ignore those already imported
override
init() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeResource(String fullName) → void
override
toString() String
A string representation of this object.
inherited
updateResource(String fullName, HTSource resource) → void
override

Operators

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