Holiday class
Informações sobre feriados nacionais.
Constructors
Properties
- date → String?
-
Data do feriado.
final
-
errors
→ Map<
String, dynamic> ? -
Erros encontrados na requisição.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
Nome do feriado.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String?
-
Tipo do feriado. Exemplo:
nationalfinal
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Transformar os dados em um json.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
listHolidays(
{required int year}) → Future< List< Holiday> > - Lista os feriados nacionais de determinado ano.