AssetCourseFiles class

Os arquivos de um curso embutido nos assets do app.

prefix é o diretório do curso nos assets (assets/cursos/iniciacao). bundle só existe para testes (rootBundle no app).

Constructors

AssetCourseFiles(String prefix, {AssetBundle? bundle})

Properties

hashCode → int
The hash code for this object.
no setterinherited
label → String
Nome para mensagens ("iniciacao", "curso.zywny").
no setteroverride
prefix → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

list() → Future<List<String>>
Todos os arquivos, por caminho relativo.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String path) → Future<Uint8List>
override
toString() → String
A string representation of this object.
inherited

Operators

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