SongListTrack class
O que a lista de uma trilha faz (ver o arquivo). Os padrões são os da leitura pela música.
Constructors
-
SongListTrack({required Future<
SongListProgress> load(), required Future<void> markLast(String hash), List<MusicSongLine> lineOf(List<MusicSummary> all, SongListProgress state) = musicSongLinesOf, bool inFilter(MusicSongLine line, MusicFilter filter) = musicInFilter, String subtitleOf(MusicSummary summary) = musicSummaryLine, Future<MusicListen> listenOf(MusicSummary summary, MusicCatalog catalog) = musicListenOf}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- inFilter → bool Function(MusicSongLine line, MusicFilter filter)
-
Se a linha entra no filtro (Servem, Não servem, Com erro).
final
-
lineOf
→ List<
MusicSongLine> Function(List<MusicSummary> all, SongListProgress state) -
As linhas da coleção com o progresso desta trilha.
final
-
listenOf
→ Future<
MusicListen> Function(MusicSummary summary, MusicCatalog catalog) -
O "Ouvir" da linha: a prévia desta trilha, ou o motivo de não tocar.
final
-
load
→ Future<
SongListProgress> Function() -
O estado da trilha (a última música e as etapas feitas), lido de novo.
final
-
markLast
→ Future<
void> Function(String hash) -
Grava hash como a última música aberta nesta trilha.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitleOf → String Function(MusicSummary summary)
-
O texto de uma linha que não é só o progresso: o motivo de não servir, ou o
que a música tem.
final
Methods
-
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