copyWith method
Implementation
ProjectData copyWith({
int? id,
String? code,
String? name,
Value<String?> description = const Value.absent(),
Value<String?> note = const Value.absent(),
}) => ProjectData(
id: id ?? this.id,
code: code ?? this.code,
name: name ?? this.name,
description: description.present ? description.value : this.description,
note: note.present ? note.value : this.note,
);