copyWithWrapped method

ConsentUpdateV3Body copyWithWrapped({
  1. Wrapped<String?>? email,
  2. Wrapped<bool?>? isHomeowner,
  3. Wrapped<bool?>? hasAcceptedConsent,
  4. Wrapped<String?>? source,
})

Implementation

ConsentUpdateV3Body copyWithWrapped(
    {Wrapped<String?>? email,
    Wrapped<bool?>? isHomeowner,
    Wrapped<bool?>? hasAcceptedConsent,
    Wrapped<String?>? source}) {
  return ConsentUpdateV3Body(
      email: (email != null ? email.value : this.email),
      isHomeowner:
          (isHomeowner != null ? isHomeowner.value : this.isHomeowner),
      hasAcceptedConsent: (hasAcceptedConsent != null
          ? hasAcceptedConsent.value
          : this.hasAcceptedConsent),
      source: (source != null ? source.value : this.source));
}