copyWith method

SlaInformationCompletedCycleDTO copyWith({
  1. DateDTO? breachTime,
  2. bool? breached,
  3. DurationDTO? elapsedTime,
  4. DurationDTO? goalDuration,
  5. DurationDTO? remainingTime,
  6. DateDTO? startTime,
  7. 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,
  );
}