toJson method

Map<String, dynamic> toJson()

Serializes this knob into a JSON-compatible map.

Implementation

Map<String, dynamic> toJson() => {'value': value};