copyWith method

DeviceAddressV2 copyWith({
  1. double? lat,
  2. double? long,
  3. String? streetAddress,
  4. String? city,
  5. String? state,
  6. String? postalCode,
})

Implementation

DeviceAddressV2 copyWith(
    {double? lat,
    double? long,
    String? streetAddress,
    String? city,
    String? state,
    String? postalCode}) {
  return DeviceAddressV2(
      lat: lat ?? this.lat,
      long: long ?? this.long,
      streetAddress: streetAddress ?? this.streetAddress,
      city: city ?? this.city,
      state: state ?? this.state,
      postalCode: postalCode ?? this.postalCode);
}