merge method

Merges current AIAssistBotConfiguration with other

Implementation

AIAssistBotConfiguration merge(AIAssistBotConfiguration? other) {
  if (other == null) return this;
  return copyWith(
    aiAssistBotStyle: other.aiAssistBotStyle,
    theme: other.theme,
    emptyStateText: other.emptyStateText,
    loadingStateText: other.loadingStateText,
    errorStateText: other.errorStateText,
    emptyStateView: other.emptyStateView,
    loadingStateView: other.loadingStateView,
    errorStateView: other.errorStateView,
    errorIconUrl: other.errorIconUrl,
    emptyIconUrl: other.emptyIconUrl,
    loadingIconUrl: other.loadingIconUrl,
    apiConfiguration: other.apiConfiguration,
  );
}