Student class

A student, which can be used to request a load of stuff. Be aware that if a student object isn't fetched by login, you do not have sufficient permissions to view fx. grades etc. Takes a String studentId and an int gymId

Constructors

Student(String studentId, int gymId, {String? info, bool teacher = false})

Properties

absence AbsenceController
getter/setter pair
assignments AssignmentsController
getter/setter pair
baseUrl String
no setter
classes ClassesController
getter/setter pair
context ContextController
getter/setter pair
events EventController
getter/setter pair
grades GradeController
getter/setter pair
gymId int
getter/setter pair
gyms GymController
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
homework HomeworkController
getter/setter pair
imageId String
getter/setter pair
images Map<String, Uint8List>
getter/setter pair
info String?
getter/setter pair
kort StudiekortController
getter/setter pair
messages MesssageController
getter/setter pair
meta MessageMetaController
getter/setter pair
name String
getter/setter pair
plans PlansController
getter/setter pair
rooms RoomsController
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
studentId String
getter/setter pair
students StudentsController
getter/setter pair
teacher bool
getter/setter pair
teams TeamsController
getter/setter pair
terms TermsController
getter/setter pair
weeks WeekController
getter/setter pair

Methods

buildUrl(String path) String
getBasicInfo() Future<BasicInfo>
Returns a BasicInfo containing name and pictureId.
getCookies() Future<List<Cookie>>
getFile(String url, {void onReceiveProgress(int x, int? x1)?}) Future<Uint8List>
getImage(String imageId, {bool fullsize = false}) DioImage
Returns an image from an id as a Uint8List
getStudent(String studentId) Student
Get an external student.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBasicInfo(BasicInfo basicInfo) → void
toString() String
A string representation of this object.
inherited

Operators

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