toJson method
Converts this into JSON representation share information about the available fields. Mostly used to support Fields on Widgetbook Cloud.
Implementation
@override
Map<String, dynamic> toJson() {
return {
'space': initialColorSpace.name,
};
}