toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.subjectId != null) {
json[r'subject_id'] = this.subjectId;
} else {
json[r'subject_id'] = null;
}
if (this.subjectName != null) {
json[r'subject_name'] = this.subjectName;
} else {
json[r'subject_name'] = null;
}
return json;
}