toJson method
Implementation
@override
String? toJson(RangeSliderTrackShape? object) {
if (object == null) return null;
if (object is RectangularRangeSliderTrackShape) {
return 'rectangular';
} else if (object is RoundedRectRangeSliderTrackShape) {
return 'rounded';
}
throw 'Json_Unsuported_Value';
}