Announcement class

Announcement created by a teacher for students of the course

Constructors

Announcement()
Announcement.fromJson(Map _json)

Properties

Absolute link to this announcement in the Classroom web UI. This is only populated if state is PUBLISHED. Read-only.
read / write
assigneeMode String
Assignee mode of the announcement. If unspecified, the default value is ALL_STUDENTS. Possible string values are: [...]
read / write
courseId String
Identifier of the course. Read-only.
read / write
creationTime String
Timestamp when this announcement was created. Read-only.
read / write
creatorUserId String
Identifier for the user that created the announcement. Read-only.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Classroom-assigned identifier of this announcement, unique per course. Read-only.
read / write
individualStudentsOptions IndividualStudentsOptions
Identifiers of students with access to the announcement. This field is set only if assigneeMode is INDIVIDUAL_STUDENTS. If the assigneeMode is INDIVIDUAL_STUDENTS, then only students specified in this field can see the announcement.
read / write
materials List<Material>
Additional materials. Announcements must have no more than 20 material items.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scheduledTime String
Optional timestamp when this announcement is scheduled to be published.
read / write
state String
Status of this announcement. If unspecified, the default state is DRAFT. Possible string values are: [...]
read / write
text String
Description of this announcement. The text must be a valid UTF-8 string containing no more than 30,000 characters.
read / write
updateTime String
Timestamp of the most recent change to this announcement. Read-only.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited