copyWithWrapped method
Implementation
MarketingMessageUpsertV3Body copyWithWrapped(
{Wrapped<enums.MarketingMessageTypeDTO?>? messageType,
Wrapped<enums.MarketingMessageTargetDTO?>? target,
Wrapped<List<String>?>? ccEmails,
Wrapped<List<String>?>? bccEmails,
Wrapped<String?>? subject,
Wrapped<String?>? plainTextBody}) {
return MarketingMessageUpsertV3Body(
messageType:
(messageType != null ? messageType.value : this.messageType),
target: (target != null ? target.value : this.target),
ccEmails: (ccEmails != null ? ccEmails.value : this.ccEmails),
bccEmails: (bccEmails != null ? bccEmails.value : this.bccEmails),
subject: (subject != null ? subject.value : this.subject),
plainTextBody:
(plainTextBody != null ? plainTextBody.value : this.plainTextBody));
}