Invitation class

An invitation to join a course.

Constructors

Invitation()
Invitation.fromJson(Map _json)

Properties

courseId String
Identifier of the course to invite the user to.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Identifier assigned by Classroom. Read-only.
read / write
role String
Role to invite the user to have. Must not be COURSE_ROLE_UNSPECIFIED. Possible string values are: [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userId String
Identifier of the invited user. When specified as a parameter of a request, this identifier can be set to one of the following: * the numeric identifier for the user * the email address of the user * the string literal "me", indicating the requesting user
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