ManagedSlot class final
A place in a managed component that holds the instance's own nodes.
JSON: {"key": "header", "label": "Header", "node": "hdr", "accepts": "any"}: node is the version's node (an id in its definition) whose
children the slot's content replaces.
- Annotations
-
- @immutable
Constructors
- ManagedSlot({required String key, String label = '', required String node, String accepts = 'any'})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Object? json) → ManagedSlot?