fromJson method
Implementation
@override
RangeSliderValueIndicatorShape? fromJson(String? json) {
if (json == null) return null;
switch (json) {
case 'paddle':
return const PaddleRangeSliderValueIndicatorShape();
case 'rectangular':
return const RectangularRangeSliderValueIndicatorShape();
}
throw 'Unsuported_Json_Value';
}