toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final alternateLink = this.alternateLink;
final assigneeMode = this.assigneeMode;
final assignment = this.assignment;
final associatedWithDeveloper = this.associatedWithDeveloper;
final courseId = this.courseId;
final creationTime = this.creationTime;
final creatorUserId = this.creatorUserId;
final description = this.description;
final dueDate = this.dueDate;
final dueTime = this.dueTime;
final gradeCategory = this.gradeCategory;
final gradingPeriodId = this.gradingPeriodId;
final id = this.id;
final individualStudentsOptions = this.individualStudentsOptions;
final materials = this.materials;
final maxPoints = this.maxPoints;
final multipleChoiceQuestion = this.multipleChoiceQuestion;
final scheduledTime = this.scheduledTime;
final state = this.state;
final submissionModificationMode = this.submissionModificationMode;
final title = this.title;
final topicId = this.topicId;
final updateTime = this.updateTime;
final workType = this.workType;
return {
'alternateLink': ?alternateLink,
'assigneeMode': ?assigneeMode,
'assignment': ?assignment,
'associatedWithDeveloper': ?associatedWithDeveloper,
'courseId': ?courseId,
'creationTime': ?creationTime,
'creatorUserId': ?creatorUserId,
'description': ?description,
'dueDate': ?dueDate,
'dueTime': ?dueTime,
'gradeCategory': ?gradeCategory,
'gradingPeriodId': ?gradingPeriodId,
'id': ?id,
'individualStudentsOptions': ?individualStudentsOptions,
'materials': ?materials,
'maxPoints': ?maxPoints,
'multipleChoiceQuestion': ?multipleChoiceQuestion,
'scheduledTime': ?scheduledTime,
'state': ?state,
'submissionModificationMode': ?submissionModificationMode,
'title': ?title,
'topicId': ?topicId,
'updateTime': ?updateTime,
'workType': ?workType,
};
}