BooleanConfig class

A configuration class for boolean configurations, which can be used to statically enable or disable features in a component.

Inheritance

Constructors

BooleanConfig.new({bool? staticConfig = false})
Creates a new BooleanConfig instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the configuration, especially needed for runtime to add as a module input.
finalinherited
runtimeConfig Logic?
The runtime configuration logic that can be used to configure the component at runtime
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
staticConfig bool
The static configuration flag that indicates whether the feature is statically configured or not.
latefinalinherited
value bool
Return a bool representing the value of the configuration.
no setterinherited

Methods

getLogic(Module module) Logic
Return the internal Logic signal that represents the configuration, either static or runtime.
inherited
getRuntimeInput(Module module) Logic?
Construct and return a Logic? that is a true input to the module if this is a runtime configuration signal.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Return a string representation of the configuration, including its name.
inherited
tryRuntimeInput(Module module) Logic?
Returns a Logic? that represents the module internalruntime input.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited