fromJson method
Implementation
@override
DragStartBehavior? fromJson(String? json) {
if (json == null) return null;
switch (json) {
case 'down':
return DragStartBehavior.down;
case 'start':
return DragStartBehavior.start;
}
throw 'Unsuported_Json_Value';
}