toJson method
Implementation
@override
String? toJson(DragStartBehavior? object) {
if (object == null) return null;
switch (object) {
case DragStartBehavior.down:
return 'down';
case DragStartBehavior.start:
return 'start';
}
}