copyWithWrapped method
WidgetTextContents
copyWithWrapped({
- Wrapped? mainLabel,
- Wrapped? startCall,
- Wrapped? newCall,
- Wrapped? endCall,
- Wrapped? muteMicrophone,
- Wrapped? changeLanguage,
- Wrapped? collapse,
- Wrapped? expand,
- Wrapped? copied,
- Wrapped? acceptTerms,
- Wrapped? dismissTerms,
- Wrapped? listeningStatus,
- Wrapped? speakingStatus,
- Wrapped? connectingStatus,
- Wrapped? inputLabel,
- Wrapped? inputPlaceholder,
- Wrapped? userEndedConversation,
- Wrapped? agentEndedConversation,
- Wrapped? conversationId,
- Wrapped? errorOccurred,
- 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));
}