EnsaioDaRotinaState class

Inheritance

Constructors

EnsaioDaRotinaState({required DateTime dia, required List<RotinaItem> itens, Map<String, RotinaProgressoItem> progresso = const {}})
const

Properties

dia → DateTime
O dia da rotina que se treina (só a data).
final
hashCode → int
The hash code for this object.
no setterinherited
itens → List<RotinaItem>
Os itens do dia, na ordem da rotina.
final
progresso → Map<String, RotinaProgressoItem>
O progresso do ensaio de cada item, pelo id. Um item sem rodada não está aqui.
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({Map<String, RotinaProgressoItem>? progresso}) → EnsaioDaRotinaState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
progressoDe(RotinaItem item) → RotinaProgressoItem
O progresso do ensaio de item (vazio se ainda não há rodada).
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited