copyWithWrapped method

InstallProgressDTO copyWithWrapped({
  1. Wrapped<String?>? type,
  2. Wrapped<String?>? currentStep,
  3. Wrapped<DateTime?>? modifiedDate,
})

Implementation

InstallProgressDTO copyWithWrapped(
    {Wrapped<String?>? type,
    Wrapped<String?>? currentStep,
    Wrapped<DateTime?>? modifiedDate}) {
  return InstallProgressDTO(
      type: (type != null ? type.value : this.type),
      currentStep:
          (currentStep != null ? currentStep.value : this.currentStep),
      modifiedDate:
          (modifiedDate != null ? modifiedDate.value : this.modifiedDate));
}