RotinaDoDiaState class

Inheritance

Constructors

RotinaDoDiaState({required List<VinculoDoProfessor> professores, required String? profUid, required DateTime dia, Rotina? rotina, bool lendo = true, bool erro = false})
const

Properties

dia → DateTime
O dia que a tela mostra (sem a hora).
final
erro → bool
A leitura da rotina falhou (sem conexão ou sem permissão).
final
hashCode → int
The hash code for this object.
no setterinherited
lendo → bool
A primeira leitura não chegou.
final
professores → List<VinculoDoProfessor>
Os professores com vínculo ativo deste aluno (na ordem em que chegaram).
final
professorEscolhido → VinculoDoProfessor?
O professor escolhido, ou null.
no setter
profUid → String?
O professor cuja rotina a tela mostra; null sem professor ativo.
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
rotina → Rotina?
A rotina do professor escolhido, ou null se ele ainda não a montou.
final
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({String? profUid, DateTime? dia, Rotina? rotina, bool? lendo, bool? erro, bool limparRotina = false}) → RotinaDoDiaState
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