NtutISchoolPlusService class

Implemented types

Constructors

NtutISchoolPlusService({Dio? dio, Dio? availabilityDio})
dio permits deterministic protocol tests without contacting iSchool+.

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

checkAvailability() → Future<void>
Checks whether the public I-School Plus homepage is reachable without using an authenticated session.
override
downloadMaterial(MaterialRefDto material, String directory, {CancelToken? cancelToken, ProgressCallback? onReceiveProgress}) → Future<MaterialFileDto>
Resolves fresh access information and downloads a file into directory.
override
getCourseList() → Future<List<ISchoolCourseDto>>
Fetches the list of courses available on iSchool+ for the current user.
override
getMaterial(MaterialRefDto material) → Future<MaterialDto>
Fetches download information for a specific course material.
override
getMaterials(ISchoolCourseDto course) → Future<List<MaterialRefDto>>
Fetches the list of course materials for the specified course.
override
getStudents(ISchoolCourseDto course) → Future<List<StudentDto>>
Fetches the list of students enrolled in the specified course.
override
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