FlutterGooglePlacesSdkWindowsPlugin class

Web implementation plugin for flutter google places sdk

Inheritance
  • Object
  • PlatformInterface
  • FlutterGooglePlacesSdkPlatform
  • FlutterGooglePlacesSdkHttpPlugin
  • FlutterGooglePlacesSdkWindowsPlugin

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.
inherited
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.
inherited
fetchPlacePhoto(PhotoMetadata photoMetadata, {int? maxWidth, int? maxHeight}) Future<FetchPlacePhotoResponse>
Fetches a photo of a place.
inherited
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.
inherited
initialize(String apiKey, {Locale? locale}) Future<void>
Initializes Places for the given application context with the given API key.
inherited
isInitialized() Future<bool?>
Returns whether or not the internal Places client has been initialized.
inherited
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

registerWith() → void
Registers this class as the default instance of FlutterGooglePlacesSdkPlatform.