Course class
Classe représentant une ressource disponible sur une page d'un cours sur celene
Constructors
- Course.new(String name, String link, String type, {String? topic})
Properties
- associatedFile ↔ FileEntry?
-
getter/setter pair
- downloaded ↔ bool
-
getter/setter pair
- fromFolder ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- link ↔ String
-
getter/setter pair
- name ↔ String
-
getter/setter pair
- parentFolder ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topic ↔ String?
-
getter/setter pair
- type ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFile(
FileEntry file) → void - Attribue un fichier associé pour pouvoir ensuite ouvrir ce dit fichier
-
toString(
) → String -
Fonctions d'affichage
override
-
updateDownloadStatus(
) → void - Met à jour le statut de téléchargement d'une ressource
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
constructFromCeleneInfo(
Bs4Element data, {String? parent}) → Course? - Transforme un élément html depuis la page celene vers une cours
-
constructFromFileInfo(
FileEntry courseFile, {String? topic, String? parentFolder}) → dynamic - Transforme un objet File en un objet Course, utile notamment pour les fichiers d'un dossier sur celene