copyWith method
WidgetTextContents
copyWith({
- dynamic mainLabel,
- dynamic startCall,
- dynamic newCall,
- dynamic endCall,
- dynamic muteMicrophone,
- dynamic changeLanguage,
- dynamic collapse,
- dynamic expand,
- dynamic copied,
- dynamic acceptTerms,
- dynamic dismissTerms,
- dynamic listeningStatus,
- dynamic speakingStatus,
- dynamic connectingStatus,
- dynamic inputLabel,
- dynamic inputPlaceholder,
- dynamic userEndedConversation,
- dynamic agentEndedConversation,
- dynamic conversationId,
- dynamic errorOccurred,
- dynamic copyId,
Implementation
WidgetTextContents copyWith(
{dynamic mainLabel,
dynamic startCall,
dynamic newCall,
dynamic endCall,
dynamic muteMicrophone,
dynamic changeLanguage,
dynamic collapse,
dynamic expand,
dynamic copied,
dynamic acceptTerms,
dynamic dismissTerms,
dynamic listeningStatus,
dynamic speakingStatus,
dynamic connectingStatus,
dynamic inputLabel,
dynamic inputPlaceholder,
dynamic userEndedConversation,
dynamic agentEndedConversation,
dynamic conversationId,
dynamic errorOccurred,
dynamic copyId}) {
return WidgetTextContents(
mainLabel: mainLabel ?? this.mainLabel,
startCall: startCall ?? this.startCall,
newCall: newCall ?? this.newCall,
endCall: endCall ?? this.endCall,
muteMicrophone: muteMicrophone ?? this.muteMicrophone,
changeLanguage: changeLanguage ?? this.changeLanguage,
collapse: collapse ?? this.collapse,
expand: expand ?? this.expand,
copied: copied ?? this.copied,
acceptTerms: acceptTerms ?? this.acceptTerms,
dismissTerms: dismissTerms ?? this.dismissTerms,
listeningStatus: listeningStatus ?? this.listeningStatus,
speakingStatus: speakingStatus ?? this.speakingStatus,
connectingStatus: connectingStatus ?? this.connectingStatus,
inputLabel: inputLabel ?? this.inputLabel,
inputPlaceholder: inputPlaceholder ?? this.inputPlaceholder,
userEndedConversation:
userEndedConversation ?? this.userEndedConversation,
agentEndedConversation:
agentEndedConversation ?? this.agentEndedConversation,
conversationId: conversationId ?? this.conversationId,
errorOccurred: errorOccurred ?? this.errorOccurred,
copyId: copyId ?? this.copyId);
}