StudentSubmission class

Student submission for course work.

StudentSubmission items are generated when a CourseWork item is created. Student submissions that have never been accessed (i.e. with state = NEW) may not have a creation time or update time.

Constructors

StudentSubmission({String? alternateLink, double? assignedGrade, Map<String, RubricGrade>? assignedRubricGrades, AssignmentSubmission? assignmentSubmission, bool? associatedWithDeveloper, String? courseId, String? courseWorkId, String? courseWorkType, String? creationTime, double? draftGrade, Map<String, RubricGrade>? draftRubricGrades, String? id, bool? late, MultipleChoiceSubmission? multipleChoiceSubmission, ShortAnswerSubmission? shortAnswerSubmission, String? state, List<SubmissionHistory>? submissionHistory, String? updateTime, String? userId})
StudentSubmission.fromJson(Map json_)

Properties

Absolute link to the submission in the Classroom web UI.
getter/setter pair
assignedGrade ↔ double?
Optional grade.
getter/setter pair
assignedRubricGrades ↔ Map<String, RubricGrade>?
Assigned rubric grades based on the rubric's Criteria.
getter/setter pair
assignmentSubmission ↔ AssignmentSubmission?
Submission content when course_work_type is ASSIGNMENT.
getter/setter pair
associatedWithDeveloper ↔ bool?
Whether this student submission is associated with the Developer Console project making the request.
getter/setter pair
courseId ↔ String?
Identifier of the course.
getter/setter pair
courseWorkId ↔ String?
Identifier for the course work this corresponds to.
getter/setter pair
courseWorkType ↔ String?
Type of course work this submission is for.
getter/setter pair
creationTime ↔ String?
Creation time of this submission.
getter/setter pair
draftGrade ↔ double?
Optional pending grade.
getter/setter pair
draftRubricGrades ↔ Map<String, RubricGrade>?
Pending rubric grades based on the rubric's criteria.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
Classroom-assigned Identifier for the student submission.
getter/setter pair
late ↔ bool?
Whether this submission is late.
getter/setter pair
multipleChoiceSubmission ↔ MultipleChoiceSubmission?
Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shortAnswerSubmission ↔ ShortAnswerSubmission?
Submission content when course_work_type is SHORT_ANSWER_QUESTION.
getter/setter pair
state ↔ String?
State of this submission.
getter/setter pair
submissionHistory ↔ List<SubmissionHistory>?
The history of the submission (includes state and grade histories).
getter/setter pair
updateTime ↔ String?
Last update time of this submission.
getter/setter pair
userId ↔ String?
Identifier for the student that owns this submission.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited