copyWith method
SlaInformationDTO
copyWith({
- SelfLinkDTO? links,
- List<
SlaInformationCompletedCycleDTO> ? completedCycles, - String? id,
- String? name,
- SlaInformationOngoingCycleDTO? ongoingCycle,
- String? slaDisplayFormat,
Implementation
SlaInformationDTO copyWith(
{SelfLinkDTO? links,
List<SlaInformationCompletedCycleDTO>? completedCycles,
String? id,
String? name,
SlaInformationOngoingCycleDTO? ongoingCycle,
String? slaDisplayFormat}) {
return SlaInformationDTO(
links: links ?? this.links,
completedCycles: completedCycles ?? this.completedCycles,
id: id ?? this.id,
name: name ?? this.name,
ongoingCycle: ongoingCycle ?? this.ongoingCycle,
slaDisplayFormat: slaDisplayFormat ?? this.slaDisplayFormat,
);
}