ToggleConfigKnob class
A knob for holding a bool.
- Inheritance
-
- Object
- ConfigKnob<
bool> - ToggleConfigKnob
Constructors
- ToggleConfigKnob({required bool value})
- Creates a new knob with the specified initial value.
Properties
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