extractCepValuesFromResponse function

Cep extractCepValuesFromResponse(
  1. Map<String, dynamic> responseObject
)

Implementation

Cep extractCepValuesFromResponse(Map<String, dynamic> responseObject) {
  return Cep(
    responseObject['cep'].replaceFirst('-', ''),
    responseObject['uf'],
    responseObject['localidade'],
    responseObject['logradouro'],
    responseObject['bairro'],
  );
}