copyWith method

MortgagePropertyAddress copyWith({
  1. String? city,
  2. String? country,
  3. String? postalCode,
  4. String? region,
  5. String? street,
})

Implementation

MortgagePropertyAddress copyWith(
    {String? city,
    String? country,
    String? postalCode,
    String? region,
    String? street}) {
  return MortgagePropertyAddress(
      city: city ?? this.city,
      country: country ?? this.country,
      postalCode: postalCode ?? this.postalCode,
      region: region ?? this.region,
      street: street ?? this.street);
}