copyWithWrapped method

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

Implementation

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