SumInterfaceKnob class
A knob for a single sum interface.
- Inheritance
-
- Object
- ConfigKnob<
String> - GroupOfKnobs
- SumInterfaceKnob
Constructors
- SumInterfaceKnob()
- Creates a new sum interface knob.
Properties
- fixedValueKnob ↔ IntConfigKnob
-
The fixed value of the sum interface, only present when isFixedValueKnob
is true.
getter/setter pair
- hasEnableKnob ↔ ToggleConfigKnob
-
Whether the sum interface has an enable signal.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- incrementsKnob ↔ ToggleConfigKnob
-
Whether the sum interface increments (vs. decrements).
getter/setter pair
- isFixedValueKnob ↔ ToggleConfigKnob
-
Whether the sum interface has a fixed value.
getter/setter pair
- name → String
-
The name of this group.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subKnobs
→ Map<
String, ConfigKnob> -
A mapping from a sub-knob name to a corresponding sub-
ConfigKnob
.no setteroverride - value ↔ String
-
The primary value being stored in this knob.
getter/setter pairinherited
- widthKnob ↔ IntOptionalConfigKnob
-
The width of the sum interface.
getter/setter pair
Methods
-
loadJson(
Map< String, dynamic> decodedJson) → void -
Reconfigures this knob based on the provided deserialized JSON.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this knob into a JSON-compatible map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited