UF class

Classe que modela uma UF na API do IBGE

Constructors

UF({required int id, required String sigla, required String nome, required Regiao regiao})
UF.fromJson(Map<String, dynamic> json)
Método para desserializar o objeto
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
final
nome String
final
regiao → Regiao
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sigla String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Método para serializar o objeto
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited