loadJson method
override
Reconfigures this knob based on the provided deserialized JSON.
Implementation
@override
void loadJson(Map<String, dynamic> decodedJson) {
final knobsList = decodedJson['knobs'] as List<dynamic>;
value = knobsList.length;
for (final (i, knob) in knobs.indexed) {
knob.loadJson(knobsList[i] as Map<String, dynamic>);
}
}