ProgressoDaRotinaState class

Inheritance

Constructors

ProgressoDaRotinaState({Map<String, RotinaProgressoItem> itens = const {}, bool lido = false, bool erro = false, MensagemDeTela? mensagem, int alteracoes = 0, AlteracaoDoProgresso? ultimaAlteracao})
const

Properties

alteracoes → int
Quantas vezes o progresso mudou nesta sessão (sobe a cada gravação de um item). O envio olha este número para saber que houve mudança nova.
final
erro → bool
A leitura do armazenamento falhou (o progresso fica só na memória desta sessão, e não se grava).
final
hashCode → int
The hash code for this object.
no setterinherited
itens → Map<String, RotinaProgressoItem>
O progresso de cada item, pela chave de chaveDoProgresso.
final
lido → bool
O armazenamento já foi lido. Antes disso, gravar não faz nada (sobrescreveria o que está guardado).
final
mensagem → MensagemDeTela?
O último aviso para a tela (vira um SnackBar).
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
ultimaAlteracao → AlteracaoDoProgresso?
De qual professor e dia foi a última mudança; null sem mudança.
final

Methods

copyWith({Map<String, RotinaProgressoItem>? itens, bool? lido, bool? erro, MensagemDeTela? mensagem, int? alteracoes, AlteracaoDoProgresso? ultimaAlteracao}) → ProgressoDaRotinaState
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