Municipio class
Classe que modela um Município na API do IBGE
Constructors
- Municipio({required int id, required String nome, required Microrregiao microrregiao})
-
Municipio.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
- microrregiao → Microrregiao
-
final
- nome → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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