ApiCountryDataSource class
API-based country data source Fetches country data from a remote endpoint
- Implemented types
Constructors
Properties
Methods
-
fetchCountries(
) → Future< Map< String, Country> ?> -
Fetch country data from the source
Returns null if fetch fails (silent fallback)
override
-
isAvailable(
) → Future< bool> -
Optional: Check if source is available/reachable
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited