ConsultaCepModel class

Model para retorno do servico consultaCEP

Constructors

ConsultaCepModel({String? cep, String? logradouro, String? complemento, String? bairro, String? cidade, String? estado})
Construtor padrao
ConsultaCepModel.fromJson(Map<String, dynamic> json)
Construtor para popular model com resultado do servico consultaCEP

Properties

bairro String?
getter/setter pair
cep String?
getter/setter pair
cidade String?
getter/setter pair
complemento String?
getter/setter pair
estado String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
logradouro String?
getter/setter pair
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>
Traduz esta model para json
toString() String
Imprime esta model como um json valido
override

Operators

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