copyWith method
IncidentUpdate
copyWith({
- String? description,
- IncidentUpdateStatus? status,
- DateTime? updatedDate,
Implementation
IncidentUpdate copyWith(
{String? description,
enums.IncidentUpdateStatus? status,
DateTime? updatedDate}) {
return IncidentUpdate(
description: description ?? this.description,
status: status ?? this.status,
updatedDate: updatedDate ?? this.updatedDate);
}