copyWithWrapped method

WidgetTextContents copyWithWrapped({
  1. Wrapped? mainLabel,
  2. Wrapped? startCall,
  3. Wrapped? newCall,
  4. Wrapped? endCall,
  5. Wrapped? muteMicrophone,
  6. Wrapped? changeLanguage,
  7. Wrapped? collapse,
  8. Wrapped? expand,
  9. Wrapped? copied,
  10. Wrapped? acceptTerms,
  11. Wrapped? dismissTerms,
  12. Wrapped? listeningStatus,
  13. Wrapped? speakingStatus,
  14. Wrapped? connectingStatus,
  15. Wrapped? inputLabel,
  16. Wrapped? inputPlaceholder,
  17. Wrapped? userEndedConversation,
  18. Wrapped? agentEndedConversation,
  19. Wrapped? conversationId,
  20. Wrapped? errorOccurred,
  21. Wrapped? copyId,
})

Implementation

WidgetTextContents copyWithWrapped(
    {Wrapped<dynamic>? mainLabel,
    Wrapped<dynamic>? startCall,
    Wrapped<dynamic>? newCall,
    Wrapped<dynamic>? endCall,
    Wrapped<dynamic>? muteMicrophone,
    Wrapped<dynamic>? changeLanguage,
    Wrapped<dynamic>? collapse,
    Wrapped<dynamic>? expand,
    Wrapped<dynamic>? copied,
    Wrapped<dynamic>? acceptTerms,
    Wrapped<dynamic>? dismissTerms,
    Wrapped<dynamic>? listeningStatus,
    Wrapped<dynamic>? speakingStatus,
    Wrapped<dynamic>? connectingStatus,
    Wrapped<dynamic>? inputLabel,
    Wrapped<dynamic>? inputPlaceholder,
    Wrapped<dynamic>? userEndedConversation,
    Wrapped<dynamic>? agentEndedConversation,
    Wrapped<dynamic>? conversationId,
    Wrapped<dynamic>? errorOccurred,
    Wrapped<dynamic>? copyId}) {
  return WidgetTextContents(
      mainLabel: (mainLabel != null ? mainLabel.value : this.mainLabel),
      startCall: (startCall != null ? startCall.value : this.startCall),
      newCall: (newCall != null ? newCall.value : this.newCall),
      endCall: (endCall != null ? endCall.value : this.endCall),
      muteMicrophone: (muteMicrophone != null
          ? muteMicrophone.value
          : this.muteMicrophone),
      changeLanguage: (changeLanguage != null
          ? changeLanguage.value
          : this.changeLanguage),
      collapse: (collapse != null ? collapse.value : this.collapse),
      expand: (expand != null ? expand.value : this.expand),
      copied: (copied != null ? copied.value : this.copied),
      acceptTerms:
          (acceptTerms != null ? acceptTerms.value : this.acceptTerms),
      dismissTerms:
          (dismissTerms != null ? dismissTerms.value : this.dismissTerms),
      listeningStatus: (listeningStatus != null
          ? listeningStatus.value
          : this.listeningStatus),
      speakingStatus: (speakingStatus != null
          ? speakingStatus.value
          : this.speakingStatus),
      connectingStatus: (connectingStatus != null
          ? connectingStatus.value
          : this.connectingStatus),
      inputLabel: (inputLabel != null ? inputLabel.value : this.inputLabel),
      inputPlaceholder: (inputPlaceholder != null
          ? inputPlaceholder.value
          : this.inputPlaceholder),
      userEndedConversation: (userEndedConversation != null
          ? userEndedConversation.value
          : this.userEndedConversation),
      agentEndedConversation: (agentEndedConversation != null
          ? agentEndedConversation.value
          : this.agentEndedConversation),
      conversationId: (conversationId != null
          ? conversationId.value
          : this.conversationId),
      errorOccurred:
          (errorOccurred != null ? errorOccurred.value : this.errorOccurred),
      copyId: (copyId != null ? copyId.value : this.copyId));
}