PluginLoader class


PluginLoader(LessOptions options)


environment Environment
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
installable Map<String, Plugin>
Plugins to install
read / write
logger ↔ Logger
read / write
options LessOptions
read / write
pluginManager PluginManager
read / write
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());
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
printUsage(List<Plugin> plugins) → void
start() → void
Load plugins
toString() String
A string representation of this object. [...]
tryLoadPlugin(String name, String argument) Plugin
versionToString(List<int> version) String
Transforms a int version list to String [...]


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