MusicTrackStore class
Onde o MusicTrackState fica guardado (ver o arquivo). Falha sem exceção.
Constructors
- MusicTrackStore({SharedPreferencesAsync? prefs})
- MusicTrackStore.emMemoria()
- Um store só de memória (TC07, a rotina do aluno): as etapas feitas ficam na classe, sem armazenamento e sem o cache estático.
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
-
load(
) → Future< MusicTrackState> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
MusicTrackState state) → Future< bool> -
truese gravou. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
debugReset(
) → void - Esquece a última gravação e a leitura recusada (só para os testes).