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