toJson method
Implementation
@override
Map<String, dynamic>? toJson(BoxShadow? object) {
if (object == null) return null;
return {
'blurRadius': object.blurRadius,
'color': const NullableColorConverter().toJson(object.color),
'offset': const NullableOffsetConverter().toJson(object.offset),
'spreadRadius': object.spreadRadius,
};
}