merge method

Implementation

ZeroSpeedDialStyle merge(ZeroSpeedDialStyle? other) {
  if (other == null) return this;

  return copyWith(
    activeColor: other.activeColor,
    inactiveColor: other.inactiveColor,
    size: other.size,
    spacing: other.spacing,
    tooltipBackgroundColor: other.tooltipBackgroundColor,
    tooltipBorderColor: other.tooltipBorderColor,
    elevation: other.elevation,
    shadowColor: other.shadowColor,
    borderRadius: other.borderRadius,
    tooltipStyle:
        tooltipStyle?.merge(other.tooltipStyle) ?? other.tooltipStyle,
  );
}