BooleanConfig class

A deprecated convenience wrapper for static boolean configurations.

Use StaticOrRuntimeParameter with StaticOrRuntimeParameter.staticConfig instead.

Inheritance
Annotations
  • @Deprecated('Use StaticOrRuntimeParameter instead.')

Constructors

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

Properties

hashCode → int
The hash code for this object.
no setterinherited
isRuntime → bool
Whether this value is supplied at runtime.
no setterinherited
name → String
The module input name used for runtimeConfig.
finalinherited
runtimeConfig → Logic?
The runtime configuration signal, if this value is runtime-configurable.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
staticConfig → bool
The static value used when runtimeConfig is null.
finalinherited
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?
Constructs and returns the internal input when runtime-configured.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(Module module, {required Logic staticToLogic(bool value)}) → Logic
Resolves this value to Logic within module.
inherited
toString() → String
Return a string representation of the configuration, including its name.
inherited
tryRuntimeInput(Module module) → Logic?
Returns the existing internal runtime input on module, if any.
inherited

Operators

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