ItemDaRotinaState class

Inheritance

Constructors

ItemDaRotinaState({required RotinaAlvo alvo, required String id, required String titulo, required String observacao, required RotinaMeta meta, Set<String> camposInvalidos = const {}, List<String> problemas = const []})
const

Properties

alvo → RotinaAlvo
O que o aluno pratica.
final
camposInvalidos → Set<String>
Os campos de número com texto que não é um inteiro (minutos, rodadas…).
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
O id do item no dia (o do item editado, ou um novo).
final
meta → RotinaMeta
A meta; um campo null não se pede.
final
mostraAndamento → bool
Se a tela mostra o campo de andamento (só numa etapa de partitura).
no setter
observacao → String
A observação como o professor a escreveu.
final
problemas → List<String>
Os problemas da última tentativa de confirmar (vazio: nenhum).
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
titulo → String
O título como o professor o escreveu (pode estar vazio: a tela mostra o alvo).
final

Methods

copyWith({RotinaAlvo? alvo, String? titulo, String? observacao, RotinaMeta? meta, Set<String>? camposInvalidos, List<String>? problemas}) → ItemDaRotinaState
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