copyWith method

InstallProgressDTO copyWith({
  1. String? type,
  2. String? currentStep,
  3. DateTime? modifiedDate,
})

Implementation

InstallProgressDTO copyWith(
    {String? type, String? currentStep, DateTime? modifiedDate}) {
  return InstallProgressDTO(
      type: type ?? this.type,
      currentStep: currentStep ?? this.currentStep,
      modifiedDate: modifiedDate ?? this.modifiedDate);
}