ComponentConfig class

Configuration of a component inside a container.

The configuration includes type information or descriptor, and component configuration parameters.

Constructors

ComponentConfig([Descriptor? descriptor, TypeDescriptor? type, ConfigParams? config])
Creates a new instance of the component configuration.

Properties

config ↔ ConfigParams?
getter/setter pair
descriptor ↔ Descriptor?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ↔ TypeDescriptor?
getter/setter pair

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

Static Methods

fromConfig(ConfigParams config) ComponentConfig
Creates a new instance of ComponentConfig based on section from container configuration.