Plugin class

Base clase for Plugin definition

Constructors

Plugin()

Properties

cmdOptions ↔ String
read / write
environment Environment
read / write
isLoaded ↔ bool
read / write
lessOptions LessOptions
read / write
logger ↔ Logger
read / write
minVersion → List<int>
Less required minimal version
read-only
name ↔ String
Plugin name
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

Methods

init(LessOptions options) → void
install(PluginManager pluginManager) → void
normalizeCommand(String cmdOptions) → String
Removes " at the start/end
printOptions() → void
printUsage() → void
setOptions(String cmdOptions) → void
To be override If the plugin receives options throw an error
use() → void
Called after setOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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