PlayChordVerdict class

O veredito de uma tentativa. ok quer dizer que o acorde está certo. Se a mão andou mais que voiceLeading semitons, o acorde ainda vale, mas firstTryFails é verdadeiro e a pergunta conta como erro de primeira.

Annotations

Constructors

PlayChordVerdict({required bool ok, Set<int> missing = const {}, Set<int> extra = const {}, bool wrongInversion = false, bool wrongShape = false, bool wrongHand = false, bool outOfRange = false, int? voiceLeading, String? message})
const

Properties

extra → Set<int>
final
firstTryFails → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
message → String?
Para o aluno: o primeiro problema, ou o aviso da condução de vozes.
final
missing → Set<int>
As classes de altura que faltaram, e as que sobraram.
final
ok → bool
final
outOfRange → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
voiceLeading → int?
A distância, em semitons, até o acorde anterior, quando passou do máximo.
final
wrongHand → bool
final
wrongInversion → bool
final
wrongShape → bool
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