Plugin class

Base clase for Plugin definition

Constructors

Plugin()

Properties

cmdOptions String
read / write
environment Environment
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
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
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
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
printOptions() → void
printUsage() → void
setOptions(String cmdOptions) → void
To be override If the plugin receives options throw an error
toString() String
Returns a string representation of this object.
inherited
use() → void
Called after setOptions

Operators

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