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