copyWith method
SlaInformationCompletedCycleDTO
copyWith({
- DateDTO? breachTime,
- bool? breached,
- DurationDTO? elapsedTime,
- DurationDTO? goalDuration,
- DurationDTO? remainingTime,
- DateDTO? startTime,
- DateDTO? stopTime,
Implementation
SlaInformationCompletedCycleDTO copyWith(
{DateDTO? breachTime,
bool? breached,
DurationDTO? elapsedTime,
DurationDTO? goalDuration,
DurationDTO? remainingTime,
DateDTO? startTime,
DateDTO? stopTime}) {
return SlaInformationCompletedCycleDTO(
breachTime: breachTime ?? this.breachTime,
breached: breached ?? this.breached,
elapsedTime: elapsedTime ?? this.elapsedTime,
goalDuration: goalDuration ?? this.goalDuration,
remainingTime: remainingTime ?? this.remainingTime,
startTime: startTime ?? this.startTime,
stopTime: stopTime ?? this.stopTime,
);
}