toJson method

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

Serializes this knob into a JSON-compatible map.

Implementation

@override
Map<String, dynamic> toJson() =>
    {'value': value > 255 ? '0x${value.toRadixString(16)}' : value};