Semana class
Properties
-
dias
↔ List<
Dia> -
getter/setter pair
-
diasUteis
→ List<
Dia> -
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- primeiroDiaUtil ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ultimoDiaUtil ↔ int
-
getter/setter pair
- valida → bool
-
Semana é valida se dias tiver 7 dias, começar do domingo e terminar no
sábado. Não verifica dias entre
dias.first
edias.last
.no setter
Methods
-
contem(
Dia d) → bool -
Verifica se
d
está entredias.first
edias.last
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
uteisDoAno(
int ano) → List< Dia>
Operators
-
operator ==(
Object s) → bool -
The equality operator.
override