merge method

Implementation

CometChatMessageBubbleStyleData merge(
    CometChatMessageBubbleStyleData? other) {
  if (other == null) return this;
  return copyWith(
    messageBubbleBackgroundImage: other.messageBubbleBackgroundImage,
    backgroundColor: other.backgroundColor,
    border: other.border,
    borderRadius: other.borderRadius,
    threadedMessageIndicatorTextStyle:
        other.threadedMessageIndicatorTextStyle,
    threadedMessageIndicatorIconColor:
        other.threadedMessageIndicatorIconColor,
    messageBubbleAvatarStyle: other.messageBubbleAvatarStyle,
    messageBubbleDateStyle: other.messageBubbleDateStyle,
    senderNameTextStyle: other.senderNameTextStyle,
    messageReceiptStyle: other.messageReceiptStyle,
    moderationBackgroundColor: other.moderationBackgroundColor,
    moderationTextStyle: other.moderationTextStyle,
    moderationIconTint: other.moderationIconTint,
    exceptionBackgroundColor: other.exceptionBackgroundColor,
    exceptionTextStyle: other.exceptionTextStyle,
    exceptionIconTint: other.exceptionIconTint,
  );
}