copyWith method
Implementation
WorkStatus copyWith({
bool? isOpen,
String? description
}) {
return WorkStatus(
isOpen: isOpen ?? this.isOpen,
description: description ?? this.description
);
}
WorkStatus copyWith({
bool? isOpen,
String? description
}) {
return WorkStatus(
isOpen: isOpen ?? this.isOpen,
description: description ?? this.description
);
}