copyWith method

DeviceV2Body copyWith({
  1. String? displayName,
  2. String? address1,
  3. String? city,
  4. String? state,
  5. String? postalCode,
  6. String? lat,
  7. String? long,
})

Implementation

DeviceV2Body copyWith(
    {String? displayName,
    String? address1,
    String? city,
    String? state,
    String? postalCode,
    String? lat,
    String? long}) {
  return DeviceV2Body(
      displayName: displayName ?? this.displayName,
      address1: address1 ?? this.address1,
      city: city ?? this.city,
      state: state ?? this.state,
      postalCode: postalCode ?? this.postalCode,
      lat: lat ?? this.lat,
      long: long ?? this.long);
}