copyWith method

  1. @useResult
Contact$PostalAddress copyWith({
  1. String? label,
  2. String? street,
  3. String? city,
  4. String? postcode,
  5. String? region,
  6. String? country,
})

Creates a copy of this postal address

Implementation

@useResult
Contact$PostalAddress copyWith({
  String? label,
  String? street,
  String? city,
  String? postcode,
  String? region,
  String? country,
}) =>
    Contact$PostalAddress(
      label: label ?? this.label,
      street: street ?? this.street,
      city: city ?? this.city,
      postcode: postcode ?? this.postcode,
      region: region ?? this.region,
      country: country ?? this.country,
    );