merge method
Implementation
CometChatSearchStyle merge(CometChatSearchStyle? other) {
if (other == null) return this;
return copyWith(
backgroundColor: other.backgroundColor,
searchBackgroundColor: other.searchBackgroundColor,
searchTextColor: other.searchTextColor,
searchTextStyle: other.searchTextStyle,
searchPlaceHolderTextColor: other.searchPlaceHolderTextColor,
searchPlaceHolderTextStyle: other.searchPlaceHolderTextStyle,
searchBorder: other.searchBorder,
searchBorderRadius: other.searchBorderRadius,
searchBackIconColor: other.searchBackIconColor,
searchClearIconColor: other.searchClearIconColor,
searchFilterChipBackgroundColor: other.searchFilterChipBackgroundColor,
searchFilterChipSelectedBackgroundColor:
other.searchFilterChipSelectedBackgroundColor,
searchFilterChipTextColor: other.searchFilterChipTextColor,
searchFilterChipSelectedTextColor:
other.searchFilterChipSelectedTextColor,
searchFilterChipTextStyle: other.searchFilterChipTextStyle,
searchFilterChipSelectedTextStyle:
other.searchFilterChipSelectedTextStyle,
searchFilterChipBorder: other.searchFilterChipBorder,
searchFilterChipSelectedBorder: other.searchFilterChipSelectedBorder,
searchFilterChipBorderRadius: other.searchFilterChipBorderRadius,
searchFilterIconColor: other.searchFilterIconColor,
searchFilterSelectedIconColor: other.searchFilterSelectedIconColor,
sectionHeaderTextColor: other.sectionHeaderTextColor,
sectionHeaderTextStyle: other.sectionHeaderTextStyle,
searchConversationTitleTextColor: other.searchConversationTitleTextColor,
searchConversationTitleTextStyle: other.searchConversationTitleTextStyle,
searchConversationSubtitleTextColor:
other.searchConversationSubtitleTextColor,
searchConversationSubtitleTextStyle:
other.searchConversationSubtitleTextStyle,
searchConversationItemBackgroundColor:
other.searchConversationItemBackgroundColor,
searchMessageSenderTextColor: other.searchMessageSenderTextColor,
searchMessageSenderTextStyle: other.searchMessageSenderTextStyle,
searchMessagePreviewTextColor: other.searchMessagePreviewTextColor,
searchMessagePreviewTextStyle: other.searchMessagePreviewTextStyle,
searchMessageDateTextColor: other.searchMessageDateTextColor,
searchMessageDateTextStyle: other.searchMessageDateTextStyle,
emptyStateTextColor: other.emptyStateTextColor,
emptyStateTextStyle: other.emptyStateTextStyle,
emptyStateSubTitleTextColor: other.emptyStateSubTitleTextColor,
emptyStateSubTitleTextStyle: other.emptyStateSubTitleTextStyle,
errorStateTextColor: other.errorStateTextColor,
errorStateTextStyle: other.errorStateTextStyle,
errorStateSubTitleTextColor: other.errorStateSubTitleTextColor,
errorStateSubTitleTextStyle: other.errorStateSubTitleTextStyle,
seeMoreTextColor: other.seeMoreTextColor,
seeMoreTextStyle: other.seeMoreTextStyle,
avatarStyle: other.avatarStyle,
statusIndicatorStyle: other.statusIndicatorStyle,
badgeStyle: other.badgeStyle,
receiptStyle: other.receiptStyle,
dateStyle: other.dateStyle,
);
}