merge method

Merges current AIConversationStarterConfiguration with other

Implementation

AIConversationStarterConfiguration merge(
    AIConversationStarterConfiguration? other) {
  if (other == null) return this;
  return copyWith(
    conversationStarterStyle: other.conversationStarterStyle,
    theme: other.theme,
    emptyStateText: other.emptyStateText,
    loadingStateText: other.loadingStateText,
    errorStateText: other.errorStateText,
    customView: other.customView,
    emptyStateView: other.emptyStateView,
    loadingStateView: other.loadingStateView,
    errorStateView: other.errorStateView,
    errorIconUrl: other.errorIconUrl,
    emptyIconUrl: other.emptyIconUrl,
    loadingIconUrl: other.loadingIconUrl,
    loadingIconPackageName: other.loadingIconPackageName,
    errorIconPackageName: other.errorIconPackageName,
    emptyIconPackageName: other.emptyIconPackageName,
    apiConfiguration: other.apiConfiguration,
  );
}