RodadaDoAlunoState class

Inheritance

Constructors

RodadaDoAlunoState({bool carregando = true, String? erro, bool semPartitura = false, Map<int, int> tentativaDoCompasso = const {}, RodadaGravada? rodada, List<NotaPintada> pintura = const [], bool ouvindoEscrito = false, String? mensagemDoSom})
const

Properties

carregando → bool
Se a rodada ou a partitura ainda se leem ou se desenham.
final
erro → String?
O que impediu de abrir a rodada, ou de desenhar a partitura; null quando não há erro.
final
hashCode → int
The hash code for this object.
no setterinherited
mensagemDoSom → String?
O motivo de a partitura não tocar (sem som no aparelho), ou null.
final
ouvindoEscrito → bool
Se a partitura inteira está tocando ("Ouvir o escrito").
final
pintura → List<NotaPintada>
A pintura da rodada na tentativa escolhida de cada compasso (pinturaDaRodada).
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
rodada → RodadaGravada?
A rodada lida do aparelho; null até ela chegar (ou se não está guardada).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
semPartitura → bool
Se a rodada não levou a partitura (ela não tem como ser pintada).
final
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
tentativaDoCompasso → Map<int, int>
A tentativa escolhida de cada compasso (ocorrência → tentativa). Sem entrada, vale a passada (0).
final

Methods

copyWith({bool? carregando, String? erro, bool clearErro = false, bool? semPartitura, Map<int, int>? tentativaDoCompasso, RodadaGravada? rodada, List<NotaPintada>? pintura, bool? ouvindoEscrito, String? mensagemDoSom, bool clearMensagemDoSom = false}) → RodadaDoAlunoState
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