toJson method

  1. @override
Map<String, dynamic> toJson()
override

Serializes this knob into a JSON-compatible map.

Implementation

@override
Map<String, dynamic> toJson() => {
      for (final subKnob in subKnobs.entries)
        subKnob.key: subKnob.value.toJson(),
    };