toJson method
override
Serializes this knob into a JSON-compatible map.
Implementation
@override
Map<String, dynamic> toJson() => {
'value': value == null
? null
: value! > 255
? '0x${value!.toRadixString(16)}'
: value
};