merge method

AIOptionsStyle merge(
  1. AIOptionsStyle? other
)

Implementation

AIOptionsStyle merge(AIOptionsStyle? other) {
  if (other == null) return this;
  return copyWith(
    backgroundColor: other.backgroundColor,
    border: other.border,
    borderRadius: other.borderRadius,
    titleTextStyle: other.titleTextStyle,
    titleColor: other.titleColor,
    iconColor: other.iconColor,
  );
}