GooglePlace constructor

GooglePlace(
  1. String apiKEY, {
  2. Map<String, String> headers = const {},
  3. String? proxyUrl,
})

Implementation

GooglePlace(
  this.apiKEY, {
  this.headers = const {},
  this.proxyUrl,
}) {
  this.search = Search(apiKEY, headers, proxyUrl);
  this.details = Details(apiKEY, headers, proxyUrl);
  this.photos = Photos(apiKEY, headers, proxyUrl);
  this.autocomplete = Autocomplete(apiKEY, headers, proxyUrl);
  this.queryAutocomplete = QueryAutocomplete(apiKEY, headers, proxyUrl);
}