InvitationsResource class

Constructors

InvitationsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

accept(String id, {String? $fields}) Future<Empty>
Accepts an invitation, removing it and adding the invited user to the teachers or students (as appropriate) of the specified course.
create(Invitation request, {String? $fields}) Future<Invitation>
Creates an invitation.
delete(String id, {String? $fields}) Future<Empty>
Deletes an invitation.
get(String id, {String? $fields}) Future<Invitation>
Returns an invitation.
list({String? courseId, int? pageSize, String? pageToken, String? userId, String? $fields}) Future<ListInvitationsResponse>
Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the list request.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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