StudentCompanion constructor

  1. @Implements<Identity>()
const StudentCompanion({
  1. required String id,
  2. required String name,
  3. required Student relation,
  4. required StudentCompanionType relationship,
})

Implementation

@Implements<Identity>()
const factory StudentCompanion({
  required String id,
  required String name,
  required Student relation,
  required StudentCompanionType relationship,
}) = _StudentCompanion;