DriveFiles class Resources

A provider that stores the contents of the AEGEE drive.

It contains photo albums, Eurokeys, booklets, and ALV documents. For each type, it creates a tree of folders and files. The tree is represented as a map, mapping folders to their contents.

This is a keep-alive provider, so it will not be disposed when the screen is no longer visible. It is also a Family provider, with the type of the resource as the parameter. It thus keeps four separate trees of folders and files.

Annotations

Constructors

DriveFiles()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(ResourceType type) FutureOr<Map<String, List<DriveNode>>>
expandFolder(DriveNode folder) Future<void>
Expands the given folder and fetches its children.
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