PhotonApi class
Wrapper of the Komoot Photon API for Flutter, providing forward and reverse geocoding.
Constructors
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
-
forwardSearch(
String searchText, {bool secure = true, PhotonForwardParams params = const PhotonForwardParams()}) → Future< List< PhotonFeature> > -
Does a forward search with the given
searchText
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reverseSearch(
double latitude, double longitude, {bool secure = true, PhotonReverseParams params = const PhotonReverseParams()}) → Future< List< PhotonFeature> > -
Does a reverse search at the given
latitude
andlongitude
. Returns an empty list if there are no results near the given location. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited