PluginLoader class


PluginLoader(LessOptions options)


environment Environment
read / write
installable ↔ Map<String, Plugin>
Plugins to install
read / write
logger ↔ Logger
read / write
options LessOptions
read / write
pluginManager PluginManager
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


compareVersion(List<int> aVersion, List<int> bVersion) → int
Compares the less version required by the plugin Returns -1, 0, +1
define(String name, Plugin plugin) → void
Add a plugin to list of available plugins, with name Example pluginLoader.define('myPlugin', New MyPlugin());
printUsage(List<Plugin> plugins) → void
start() → void
Load plugins
tryLoadPlugin(String name, String argument) Plugin
versionToString(List<int> version) → String
Transforms a int version list to String [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.