FileEntry class

Classe représentant un fichier téléchargé à partir d'une ressource sur celene

Constructors

FileEntry.new(String name, String entryName, String type, String courseID, bool latest, {String? parent, List<FileEntry>? children})

Properties

children ↔ List<FileEntry>?
Dans le cadre d'un dossier, tout les fichiers appartenant au dossier
getter/setter pair
courseID ↔ String
ID du cours associé à la ressource à partir duquel le fichier à été téléchargé
getter/setter pair
entryName ↔ String
Nom de la ressource sur celene à partir duquel le fichier à été téléchargé
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
latest ↔ bool
Indique si c'est le dernier cours qui a été téléchargé
getter/setter pair
name ↔ String
Nom du fichier
getter/setter pair
parent ↔ String?
Dans le cadre d'un fichier faisant parti d'un dossier, le nom du dossier parent
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ String
Type du fichier (dossier ou fichier classique)
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
Fonction d'affichage
override

Operators

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

Static Methods

openFile(FileEntry file, {dynamic folder = false}) → Future<void>
Fonction ouvrant le fichier associé dans l'application préférée par l'utilistaeur
openFileInFExplorer(FileEntry file, {bool folder = false}) → dynamic
Fonction ouvrant un lien