toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final courseId = this.courseId;
  final itemId = this.itemId;
  final postId = this.postId;
  final studentContext = this.studentContext;
  final supportsStudentWork = this.supportsStudentWork;
  final teacherContext = this.teacherContext;
  return {
    'courseId': ?courseId,
    'itemId': ?itemId,
    'postId': ?postId,
    'studentContext': ?studentContext,
    'supportsStudentWork': ?supportsStudentWork,
    'teacherContext': ?teacherContext,
  };
}