Student constructor

  1. @Implements<Identity>()
const Student({
  1. required String id,
  2. required String idOfSchool,
  3. required String idOfClass,
  4. required SchoolTaiwan school,
  5. required String name,
})

Implementation

@Implements<Identity>()
const factory Student({
  required String id,
  required String idOfSchool,
  required String idOfClass,
  required SchoolTaiwan school,
  required String name,
}) = _Student;