copyWith method
ChecklistTask
copyWith({
- int? id,
- FormattedText? text,
- MessageSender? completedBy,
- int? completionDate,
Implementation
ChecklistTask copyWith({
int? id,
FormattedText? text,
MessageSender? completedBy,
int? completionDate,
}) => ChecklistTask(
id: id ?? this.id,
text: text ?? this.text,
completedBy: completedBy ?? this.completedBy,
completionDate: completionDate ?? this.completionDate,
);