MockISchoolPlusService class

Mock implementation of ISchoolPlusService for repository unit tests and demo mode.

Implemented types

Constructors

MockISchoolPlusService()

Properties

courseListResult List<ISchoolCourseDto>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
materialResult MaterialDto?
getter/setter pair
materialsResult List<MaterialRefDto>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
studentsResult List<StudentDto>?
getter/setter pair

Methods

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