Component class abstract
Base protocol that all SDK components must implement
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isReady → bool
-
Check if component is ready for use
no setter
- parameters → ComponentInitParameters?
-
Configuration parameters for this component.
Returns null if component has no parameters.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → ComponentState
-
Current state of the component
no setter
Methods
-
cleanup(
) → Future< void> - Clean up and release resources
-
initialize(
) → Future< void> - Initialize the component
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transitionTo(
ComponentState newState) → Future< void> - Handle state transitions
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- componentType → SDKComponent
-
Unique identifier for this component type
no setter