copyWithWrapped method

FwStandardReportingFwReportEmailInfo copyWithWrapped({
  1. Wrapped<String?>? from,
  2. Wrapped<String?>? to,
  3. Wrapped<String?>? cc,
  4. Wrapped<String?>? subject,
  5. Wrapped<String?>? body,
})

Implementation

FwStandardReportingFwReportEmailInfo copyWithWrapped(
    {Wrapped<String?>? from,
    Wrapped<String?>? to,
    Wrapped<String?>? cc,
    Wrapped<String?>? subject,
    Wrapped<String?>? body}) {
  return FwStandardReportingFwReportEmailInfo(
      from: (from != null ? from.value : this.from),
      to: (to != null ? to.value : this.to),
      cc: (cc != null ? cc.value : this.cc),
      subject: (subject != null ? subject.value : this.subject),
      body: (body != null ? body.value : this.body));
}