copyWith method

DeviceUpdateV3Body copyWith({
  1. String? displayName,
  2. AddressDTO? address,
  3. ConnectionTypeDTO? connectionType,
  4. String? installProgressType,
  5. String? installProgressStep,
})

Implementation

DeviceUpdateV3Body copyWith(
    {String? displayName,
    AddressDTO? address,
    enums.ConnectionTypeDTO? connectionType,
    String? installProgressType,
    String? installProgressStep}) {
  return DeviceUpdateV3Body(
      displayName: displayName ?? this.displayName,
      address: address ?? this.address,
      connectionType: connectionType ?? this.connectionType,
      installProgressType: installProgressType ?? this.installProgressType,
      installProgressStep: installProgressStep ?? this.installProgressStep);
}