SubjectsProvider class Null safety

Provides specific access to subjects related data sending http requests.

Constructors

SubjectsProvider({required StorageProvider storageProvider, HttpProvider? httpProvider})

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
requestCurrentSubjects() → Future<Response>
Sends the corresponding http request to retrieve courses/subjects where the user is currently enrolled in.
requestSubject(int courseId) → Future<Response>
Sends an http request to retrieve a single course/subject based on its id.
toString() → String
A string representation of this object.
inherited

Operators

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