copyWithWrapped method

HomeownerUpdateV3Body copyWithWrapped({
  1. Wrapped<String?>? firstName,
  2. Wrapped<String?>? lastName,
  3. Wrapped<bool?>? hasAcceptedTC,
  4. Wrapped<bool?>? hasAcceptedMarketingOutreach,
})

Implementation

HomeownerUpdateV3Body copyWithWrapped(
    {Wrapped<String?>? firstName,
    Wrapped<String?>? lastName,
    Wrapped<bool?>? hasAcceptedTC,
    Wrapped<bool?>? hasAcceptedMarketingOutreach}) {
  return HomeownerUpdateV3Body(
      firstName: (firstName != null ? firstName.value : this.firstName),
      lastName: (lastName != null ? lastName.value : this.lastName),
      hasAcceptedTC:
          (hasAcceptedTC != null ? hasAcceptedTC.value : this.hasAcceptedTC),
      hasAcceptedMarketingOutreach: (hasAcceptedMarketingOutreach != null
          ? hasAcceptedMarketingOutreach.value
          : this.hasAcceptedMarketingOutreach));
}