PluginPackage class abstract

Base for a plugin's per-package entry.

Plugins subclass this to carry their own options — a catalog needs an entrypoint, a server needs a start command — because per-package configuration is plugin-specific. The framework requires exactly one thing, path, which is the join key for validating declarations. Everything else is the plugin's business and travels through Plugin.config as ordinary JSON.

Implementers

Constructors

PluginPackage(Pkg pkg)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
path → String
no setter
pkg → Pkg
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
Must include path; the rest is whatever the plugin needs.
toString() → String
A string representation of this object.
inherited

Operators

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