CarpenterModuleBase class abstract
Convenience base for modules with no capability requirements, provided capability metadata, shells, or routes by default.
- Implemented types
Constructors
- CarpenterModuleBase()
-
Creates a module base with empty default contributions.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Stable module identifier used in validation and diagnostic messages.
no setterinherited
-
provides
→ Set<
Type> -
Default empty provided-capability set. Override when the module exposes
application runtime capabilities.
no setteroverride
-
requires
→ Set<
Type> -
Default empty runtime requirement set. Override when module behavior depends
on typed capabilities.
no setteroverride
-
routes
→ List<
CarpenterRoute> -
Default empty internal route contribution list.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shells
→ List<
CarpenterShell> -
Default empty shell contribution list.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited