mergeWith method
Implementation
SvgRadialGradient mergeWith(SvgRadialGradient other) {
return SvgRadialGradient(
other.gradientUnits ?? gradientUnits,
other.r ?? r,
other.cx ?? cx,
other.cy ?? cy,
other.fr ?? fr,
other.fx ?? fx,
other.fy ?? fy,
other.transform.isNotEmpty ? other.transform : transform,
other.colors.isNotEmpty ? other.colors : colors,
other.stops.isNotEmpty ? other.stops : stops,
other.opacityList.isNotEmpty ? other.opacityList : opacityList,
);
}