copyWith method

Semester copyWith({
  1. int? id,
  2. int? year,
  3. int? term,
})

Implementation

Semester copyWith({int? id, int? year, int? term}) => Semester(
  id: id ?? this.id,
  year: year ?? this.year,
  term: term ?? this.term,
);