FlutterGooglePlacesSdkWebPlugin class
Web implementation plugin for flutter google places sdk
- Inheritance
-
- Object
- PlatformInterface
- FlutterGooglePlacesSdkPlatform
- FlutterGooglePlacesSdkWebPlugin
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
-
deinitialize(
) → Future< void> -
This puts Places into its uninitialized state.
override
-
fetchPlace(
String placeId, {List< PlaceField> ? fields, bool? newSessionToken}) → Future<FetchPlaceResponse> -
Fetches the details of a place.
Only the requested
fields
will be returned. If none specified, all fields will be returned.override -
fetchPlacePhoto(
PhotoMetadata photoMetadata, {int? maxWidth, int? maxHeight}) → Future< FetchPlacePhotoResponse> -
Fetches a photo of a place.
override
-
findAutocompletePredictions(
String query, {List< String> ? countries, List<String> placeTypesFilter = const [], bool? newSessionToken, LatLng? origin, LatLngBounds? locationBias, LatLngBounds? locationRestriction}) → Future<FindAutocompletePredictionsResponse> -
Fetches autocomplete predictions based on a query.
override
-
initialize(
String apiKey, {Locale? locale}) → Future< void> -
Initializes Places for the given application context with the given API key.
override
-
isInitialized(
) → Future< bool?> -
Returns whether or not the internal Places client has been initialized.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateSettings(
String apiKey, {Locale? locale}) → Future< void> -
Updates the settings of the places client with the given API key and locale.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void - Register the plugin with the web implementation. Called by ?? when ??