School constructor

School(
  1. String name,
  2. String country,
  3. String content_type,
  4. int available_slots,
  5. int b_slots,
  6. int m_slots,
  7. List<String> specialization,
  8. String graduation_level,
  9. String program,
  10. String use_langage,
  11. String req_lang_level,
  12. String academic_level,
)

Constructeur de la classe School. Initialise les champs et génère un identifiant unique.

Implementation

School(this.name, this.country, this.content_type, this.available_slots,
    this.b_slots, this.m_slots, this.specialization, this.graduation_level,
    this.program, this.use_langage, this.req_lang_level,
    this.academic_level) {
  id = global_id;
  remaining_slots = available_slots;
  global_id++;
}