merge method
Merges this BoxShadowDto with other BoxShadowDto
Implementation
@override
BoxShadowDto merge(BoxShadowDto? other) {
if (other == null) return this;
return BoxShadowDto(
color: color?.merge(other.color) ?? other.color,
offset: other.offset ?? offset,
blurRadius: other.blurRadius ?? blurRadius,
spreadRadius: other.spreadRadius ?? spreadRadius,
);
}