FunctionalPlugin<T extends Object> class abstract

Inheritance
Annotations

Constructors

FunctionalPlugin()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → Entity
Identifies this plugin within a host DI scope. Defaults to TypeEntity(runtimeType), so only one instance of a given Plugin subclass can be installed in the same scope at once. Override to support multiple coexisting variants (e.g. multiple ThemePlugins keyed by name).
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

execute(List<T> previousOutputs) → Resolvable<T>
Execute the plugin with a list of previous outputs.
install(DI scope) → Resolvable<Unit>
Called when this plugin is installed. scope is a fresh child DI scope owned by this plugin — register services, resources, and nested scopes here. Everything in scope is torn down automatically on uninstall.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
uninstall(DI scope) → Resolvable<Unit>
Called when this plugin is uninstalled, before scope is torn down. Use this only for cleanup the registry cannot do automatically — e.g. deregistering from singletons living outside scope, closing external resources not held as services.
inherited

Operators

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