copyWith method

ConsentUpdateV2Body copyWith({
  1. String? email,
  2. bool? isHomeowner,
  3. bool? hasAcceptedConsent,
  4. String? source,
})

Implementation

ConsentUpdateV2Body copyWith(
    {String? email,
    bool? isHomeowner,
    bool? hasAcceptedConsent,
    String? source}) {
  return ConsentUpdateV2Body(
      email: email ?? this.email,
      isHomeowner: isHomeowner ?? this.isHomeowner,
      hasAcceptedConsent: hasAcceptedConsent ?? this.hasAcceptedConsent,
      source: source ?? this.source);
}