toJson method
Implementation
@override
Map<String, dynamic>? toJson(RangeSliderThumbShape? object) {
if (object == null) return null;
if (object is RoundRangeSliderThumbShape) {
return <String, dynamic>{
'disabledThumbRadius': object.disabledThumbRadius,
'elevation': object.elevation,
'enabledThumbRadius': object.enabledThumbRadius,
'pressedElevation': object.pressedElevation,
'type': 'round',
};
}
throw 'Json_Unsuported_Value';
}