PluginChild class
A sub-entry of a plugin — in practice, one of its packages.
A plugin with several packages has no single honest status: summing "direct dependencies" across packages double-counts everything shared, and "3 failing" without saying where is a dead end in a large repo. Children let the sidebar collapse to a summary and expand to the breakdown, and because they are data the CLI and an agent get the same breakdown.
Selecting a child is what raises that package's work — children and laziness are the same mechanism seen from two sides.
Constructors
- PluginChild({required String id, required String label, Status status = Status.none, StatusBadge badge = StatusBadge.none})
-
const
Properties
- badge → StatusBadge
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Stable within the plugin — the package path, for package-scoped plugins.
final
- label → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → Status
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, Object?> json) → PluginChild