toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
json[r'academic_year'] = this.academicYear;
json[r'school_category'] = this.schoolCategory;
json[r'school_code'] = this.schoolCode;
json[r'name'] = this.name;
return json;
}