PassVerdict class

O veredito do histórico de rodadas de um exercício.

Annotations

Constructors

PassVerdict({required bool roundPassed, required int streak, required bool exercisePassed, required String reason, List<int> measures = const []})
const

Properties

exercisePassed → bool
streak >= pass.rounds.
final
hashCode → int
The hash code for this object.
no setterinherited
measures → List<int>
Os compassos com erro que o painel do resultado mostra (a ocorrência, base 0, como ScoreTimeline.measures); tocar num leva a página até ele. Vazio: o painel não mostra compassos (a leitura até o nível 40, os cursos).
final
reason → String
Em português, pronta para a tela: "82% de 90%", "faltou andamento: 50% de 100%", "2 de 3 rodadas seguidas".
final
roundPassed → bool
A última rodada passou nos critérios (precisão e, onde vale, andamento).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
streak → int
Rodadas aprovadas seguidas no fim do histórico.
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