copyWith method
Implementation
NoteData copyWith({
int? id,
String? title,
String? content,
DateTime? createDateTime,
String? colorCode,
}) => NoteData(
id: id ?? this.id,
title: title ?? this.title,
content: content ?? this.content,
createDateTime: createDateTime ?? this.createDateTime,
colorCode: colorCode ?? this.colorCode,
);