NyPlugin class

Inheritance

Constructors

NyPlugin()

Properties

app ↔ Nylo
getter/setter pairinherited
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.
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.
inherited
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