copyWith method

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

Implementation

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