SubjectModel constructor Null safety

SubjectModel(
  1. {required String code,
  2. required String name}
)

requires the code and the name for the initialing the subject.

Implementation

SubjectModel({required this.code, required this.name});