GeodbFlutterPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- GeodbFlutterPlatform
- Implementers
Constructors
- GeodbFlutterPlatform()
- Constructs a GeodbFlutterPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
findCitiesBySubstring(
String substring) → Future< List< CityResult> > - Search for cities by substring
-
findCountriesBySubstring(
String substring) → Future< List< CityResult> > - Search for countries by substring
-
findCountryByCode(
String code) → Future< CityResult?> - Find a country by its ISO2 code
-
findInRadius(
{required double lat, required double lng, required double radiusKm}) → Future< List< CityResult> > - Find cities within a radius
-
findNearest(
{required double lat, required double lng, required int count}) → Future< List< CityResult> > - Find nearest cities to a given location
-
findStatesBySubstring(
String substring) → Future< List< CityResult> > - Search for states by substring
-
getCountryCount(
) → Future< int> - Get the number of countries in the database
-
getPlatformVersion(
) → Future< String?> - Get platform version (for testing)
-
getStats(
) → Future< DbStats> - Get database statistics
-
initialize(
) → Future< void> - Initialize the GeoDB database
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
smartSearch(
String query) → Future< List< CityResult> > - Smart search - searches across cities, states, and countries
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ GeodbFlutterPlatform
-
The default instance of GeodbFlutterPlatform to use.
getter/setter pair