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