MusicIntroStore class

Constructors

MusicIntroStore({SharedPreferencesAsync? prefs, String storeKey = key})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storeKey → String
A chave de gravação deste registro (key na leitura pela música).
final

Methods

load() → Future<Set<String>>
As chaves já vistas.
markSeen(String intro) → Future<bool>
Marca o assunto intro como visto. true se gravou.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
seen(String intro) → Future<bool>
Se o assunto intro já foi visto.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

debugSeenAll ↔ bool
Nos testes que não são da explicação: tudo já visto, sem ler o aparelho.
getter/setter pair

Static Methods

debugReset() → void
Esquece o que esta execução viu (só para os testes).

Constants

key → const String
A chave de gravação da leitura pela música (o padrão).