SongTrackState class

O estado da tela de uma música (ver o arquivo).

Inheritance

Constructors

SongTrackState({Set<String> done = const {}, MusicSongShape? shape, bool loading = true, Set<String> openLayers = const {}, Set<(String, int?)> openSections = const {}, bool busy = false})
const

Properties

busy → bool
Uma etapa está abrindo: a lista fica quieta.
final
done → Set<String>
As chaves dos itens feitos (de novo a cada leitura).
final
hashCode → int
The hash code for this object.
no setterinherited
loading → bool
A primeira leitura ainda não acabou.
final
openLayers → Set<String>
As camadas abertas, pelo nome.
final
openSections → Set<(String, int?)>
Os trechos abertos: a camada e o índice do trecho (null é a música inteira).
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shape → MusicSongShape?
O formato da música; null se não se lê.
final
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({Set<String>? done, MusicSongShape? shape()?, bool? loading, Set<String>? openLayers, Set<(String, int?)>? openSections, bool? busy}) → SongTrackState
shape é uma função para que null possa valer (um formato que não se lê).
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