merge method

Implementation

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

  return copyWith(
    primaryStyle:
        primaryStyle?.merge(other.primaryStyle) ?? other.primaryStyle,
    secondaryStyle:
        secondaryStyle?.merge(other.secondaryStyle) ?? other.secondaryStyle,
    largeSize: other.largeSize,
    mediumSize: other.mediumSize,
    smallSize: other.smallSize,
    disabledColor: other.disabledColor,
  );
}