RotinaProgressoEmMemoria class

O progresso da rotina em memória (testes e o roteiro sem armazenamento).

Implemented types

Constructors

RotinaProgressoEmMemoria([Map<String, RotinaProgressoItem>? inicial])

Properties

falhaAoLer ↔ bool
Se true, carregar lança (o armazenamento não se lê).
getter/setter pair
gravacoes ↔ int
As gravações recebidas, na ordem (para o teste).
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

carregar() → Future<Map<String, RotinaProgressoItem>>
Todo o progresso guardado, pela chave de chaveDoProgresso. Lança se o armazenamento não se lê (o progresso não é apagado por isso).
override
gravar(Map<String, RotinaProgressoItem> progressos) → Future<void>
Grava o mapa inteiro (substitui o que havia).
override
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