ExerciseRecord class
O que o aluno fez num exercício: melhor % e quantas aprovadas seguidas.
- Annotations
Constructors
- ExerciseRecord({required bool passed, required int streak, required int bestPercent, required int lastAt})
-
const
-
ExerciseRecord.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bestPercent → int
-
Melhor porcentagem de qualquer tentativa (0–100).
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- lastAt → int
-
Última tentativa, ms desde a época.
final
- passed → bool
-
Já aprovado ao menos uma vez (o selo nunca sai).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streak → int
-
Rodadas aprovadas seguidas no fim do histórico (cruza sessões).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override