toJson method

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

Serializes this knob into a JSON-compatible map.

Implementation

@override
Map<String, dynamic> toJson() =>
    {'knobs': knobs.map((e) => e.toJson()).toList()};