GoogleMapsPlaceService class
Define a class that implements the PlaceRepository interface
- Implemented types
Constructors
- GoogleMapsPlaceService({required GoogleMapsPlaces googleMapsPlaces})
-
Constructor to initialize the service with the GoogleMapsPlaces instance
const
Properties
- googleMapsPlaces → GoogleMapsPlaces
-
Instance of GoogleMapsPlaces to interact with the API
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
findPlaces(
String queryString) → Future< List< Place> > -
Method to search for places based on a query string
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