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 {
'start': codec.toParam(start),
'end': codec.toParam(end),
};
}