toJson method
Implementation
@override
Map<String, dynamic>? toJson(BottomSheetThemeData? value) {
if (value == null) return null;
return <String, dynamic>{
'backgroundColor':
const NullableColorConverter().toJson(value.backgroundColor),
'clipBehavior': const NullableClipConverter().toJson(value.clipBehavior),
'elevation': value.elevation,
'modalBackgroundColor':
const NullableColorConverter().toJson(value.modalBackgroundColor),
'modalElevation': value.modalElevation,
'shape': const NullableShapeBorderConverter().toJson(value.shape),
};
throw 'Json_Unsuported_Value';
}