AlunosDoProfessorState class

Inheritance

Constructors

AlunosDoProfessorState({List<VinculoDoProfessor>? vinculos, List<ConviteDoProfessor> convites = const [], int ocupados = 0, bool erro = false, MensagemDeTela? mensagem})
const

Properties

convites → List<ConviteDoProfessor>
Os convites que ainda valem (os vencidos ficam fora da lista).
final
erro → bool
A leitura falhou.
final
hashCode → int
The hash code for this object.
no setterinherited
lendo → bool
A primeira leitura ainda não chegou e não falhou.
no setter
mensagem → MensagemDeTela?
O último aviso para a tela (vira um SnackBar).
final
ocupados → int
Quantos alunos o professor ocupa: vínculos mais convites que valem. É o que a tela de convidar confere contra o limite.
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
vinculos → List<VinculoDoProfessor>?
Os vínculos do professor; null enquanto a primeira leitura não chegou.
final

Methods

copyWith({List<VinculoDoProfessor>? vinculos, List<ConviteDoProfessor>? convites, int? ocupados, bool? erro, MensagemDeTela? mensagem}) → AlunosDoProfessorState
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