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