merge method

Implementation

ZeroAlertDialogStyle merge(ZeroAlertDialogStyle? style) {
  if (style == null) return this;
  return copyWith(
    titleTextStyle:
        titleTextStyle?.merge(style.titleTextStyle) ?? style.titleTextStyle,
    contentTextStyle: contentTextStyle?.merge(style.contentTextStyle) ??
        style.contentTextStyle,
    barrierColor: style.barrierColor,
    actionsPadding: style.actionsPadding,
    titlePadding: style.titlePadding,
    contentPadding: style.contentPadding,
    iconPadding: style.iconPadding,
    elevation: style.elevation,
    backgroundColor: style.backgroundColor,
    shadowColor: style.shadowColor,
    iconColor: style.iconColor,
    alignment: style.alignment,
    shape: style.shape,
  );
}