cep_fetcher library

A powerful and extensible Dart package to retrieve Brazilian address data from CEP codes, with automatic fallback between multiple public APIs.

Properties

internalCache Map<String, Cep>
Internal cache accessor for testing purposes only.
no setter

Functions

clearCepCache() → void
Clears all cached CEP results from memory.
fetchCepData(String cep, {Duration timeout = const Duration(seconds: 3), bool bypassCache = false}) Future<Cep>
Fetches address data for a given CEP.