merge method
Implementation
ZeroSnackbarAlertStyle merge(ZeroSnackbarAlertStyle? other) {
if (other == null) return this;
return copyWith(
border: other.border,
duration: other.duration,
titleStyle: titleStyle?.merge(other.titleStyle) ?? other.titleStyle,
subtitleStyle:
subtitleStyle?.merge(other.subtitleStyle) ?? other.subtitleStyle,
padding: other.padding,
margin: other.margin,
borderRadius: other.borderRadius,
iconSize: other.iconSize,
color: other.color,
defaultDangerColor: defaultDangerColor,
defaultWarningColor: defaultWarningColor,
defaultInfoColor: defaultInfoColor,
defaultSuccessColor: defaultSuccessColor,
);
}