Environment class

Constructors

Environment()
Returns the environment for this runZoned [...]
factory

Properties

fileManagers ↔ List<AbstractFileManager>
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
logger ↔ Logger
read / write
options LessOptions
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

charsetLookup(String mime) → String
Look up the charset of a mime type
getFileManager(String filename, String currentDirectory, Contexts options, Environment environment, {bool isSync = false}) AbstractFileManager
Returns the UrlFileManager or FileFileManager to load the filename
mimeLookup(String filename) → String
Normalize the path [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
pathJoin(String basePath, String laterPath) → String
Join and normalize two parts of path
toString() → String
Returns a string representation of this object.
inherited

Operators

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

Static Properties

cache ↔ Map<int, Environment>
read / write