BasePlugin class

BasePlugin class for NyPlugin.

Implemented types
Implementers

Constructors

BasePlugin()

Properties

app ↔ Nylo
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

construct() → dynamic
Initialize your plugin in the construct method.
override
events() → Map<Type, NyEvent>
Add events to a Nylo project.
override
initPackage(Nylo nylo) → dynamic
Provides the plugin with an instance of the Nylo app. After setting the app variable, construct() will be called.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
routes() → NyRouter
Add additional routes to a Nylo project via the router.
override
toString() → String
A string representation of this object.
inherited

Operators

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