merge method

Implementation

CometChatUsersStyle merge(CometChatUsersStyle? style) {
  if (style == null) return this;
  return copyWith(
    errorStateTextColor: style.errorStateTextColor,
    emptyStateSubtitleTextStyle: style.emptyStateSubTitleTextStyle,
    emptyStateSubtitleTextColor: style.emptyStateSubTitleTextColor,
    errorStateSubTitleTextStyle: style.errorStateSubTitleTextStyle,
    errorStateSubTitleTextColor: style.errorStateSubTitleTextColor,
    itemTitleTextStyle: style.itemTitleTextStyle,
    itemTitleTextColor: style.itemTitleTextColor,
    separatorHeight: style.separatorHeight,
    separatorColor: style.separatorColor,
    avatarStyle: style.avatarStyle,
    statusIndicatorStyle: style.statusIndicatorStyle,
    searchBackgroundColor: style.searchBackgroundColor,
    searchBorder: style.searchBorder,
    searchBorderRadius: style.searchBorderRadius,
    searchIconColor: style.searchIconColor,
    searchInputTextColor: style.searchInputTextColor,
    searchInputTextStyle: style.searchInputTextStyle,
    searchPlaceHolderTextColor: style.searchPlaceHolderTextColor,
    searchPlaceHolderTextStyle: style.searchPlaceHolderTextStyle,
    checkBoxBorder: style.checkBoxBorder,
    checkBoxBackgroundColor: style.checkBoxBackgroundColor,
    checkBoxCheckedBackgroundColor: style.checkBoxCheckedBackgroundColor,
    checkBoxBorderRadius: style.checkBoxBorderRadius,
    listItemSelectedBackgroundColor: style.listItemSelectedBackgroundColor,
    checkboxSelectedIconColor: style.checkboxSelectedIconColor,
    submitIconColor: style.submitIconColor,
    retryButtonBackgroundColor: style.retryButtonBackgroundColor,
    retryButtonTextColor: style.retryButtonTextColor,
    retryButtonTextStyle: style.retryButtonTextStyle,
    retryButtonBorder: style.retryButtonBorder,
    retryButtonBorderRadius: style.retryButtonBorderRadius,
    backgroundColor: style.backgroundColor,
    border: style.border,
    borderRadius: style.borderRadius,
    backIconColor: style.backIconColor,
    titleTextStyle: style.titleTextStyle,
    titleTextColor: style.titleTextColor,
    emptyStateTextStyle: style.emptyStateTextStyle,
    emptyStateTextColor: style.emptyStateTextColor,
    errorStateTextStyle: style.errorStateTextStyle,
    itemBorder: style.itemBorder,
    stickyTitleColor: style.stickyTitleColor,
    stickyTitleTextStyle: style.stickyTitleTextStyle,
  );
}