FmService class
Constructors
- FmService.new()
-
factory
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
-
getAddress(
{required double lat, required double lng}) → Future< FmData?> - REVERSE GEOCODING: Get address from geocode
-
getGeocode(
{bool geoJson = false, required String address}) → Future< FmData?> - GEOCODING: Retrieves geocode information from an address.
-
getPolyline(
List< LatLng> points) → Future<List< LatLng> > - Get polyline points
-
init(
) → Future< void> - Fetch base URLs
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
search(
{required String q, bool geoJson = false, required FmSearchParams p}) → Future< List< FmData> > - Search addresses using query
-
setData(
{String? userAgent, String? searchURL, String? reverseURL, String? polylineURL}) → void - Configure third-party or self-hosted API endpoints.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited