toJson method
Implementation
@override
String? toJson(RangeSliderValueIndicatorShape? object) {
if (object == null) return null;
if (object is PaddleRangeSliderValueIndicatorShape) {
return 'paddle';
} else if (object is RectangularRangeSliderValueIndicatorShape) {
return 'rectangular';
}
throw 'Json_Unsuported_Value';
}