LessonState class

A lição: o motor de som (ou null enquanto abre, ou sem áudio), se a lição sem exercício já foi marcada como lida e se o aviso "Lendo assim mesmo" foi dispensado nesta visita.

Inheritance

Constructors

LessonState({SoundEngine? engine, bool markedEnd = false, bool lockedDismissed = false})
const

Properties

engine → SoundEngine?
O motor do toque-para-ouvir das partituras.
final
hashCode → int
The hash code for this object.
no setterinherited
lockedDismissed → bool
O aluno fechou a faixa "Lendo assim mesmo" (com o "×"); some até ele sair da lição.
final
markedEnd → bool
A rolagem chegou ao fim de uma lição sem exercício (marcada uma vez só).
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({SoundEngine? engine, bool? markedEnd, bool? lockedDismissed}) → LessonState
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