copyWithWrapped method

EmailTemplate copyWithWrapped({
  1. Wrapped<String>? subject,
  2. Wrapped<String>? content,
})

Implementation

EmailTemplate copyWithWrapped(
    {Wrapped<String>? subject, Wrapped<String>? content}) {
  return EmailTemplate(
      subject: (subject != null ? subject.value : this.subject),
      content: (content != null ? content.value : this.content));
}