Semana class Null safety

Constructors

Semana(List<Dia> dias)

Properties

dias List<Dia>
read / write
diasUteis List<Dia>
read-only
hashCode int
The hash code for this object. [...]
read-only, override
primeiroDiaUtil int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
ultimoDiaUtil int
read / write
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 e dias.last.
read-only

Methods

contem(Dia d) bool
Verifica se d está entre dias.first e dias.last
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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