merge method

If the other style is null, return this style. Otherwise, return a new style that is a copy of this style with the other style's properties merged in

Implementation

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

  return copyWith(
    borderColor: other.borderColor,
    iconColor: other.iconColor,
    textStyle: textStyle?.merge(other.textStyle) ?? other.textStyle,
  );
}