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