copyWith method
Creates a copy of the CheckItem with updated values
Implementation
CheckItem copyWith({String? name, String? value, bool? isChecked}) {
return CheckItem(
id: id,
name: name ?? this.name,
value: value ?? this.value,
isChecked: isChecked ?? this.isChecked,
);
}