PlacesResponse constructor

PlacesResponse({
  1. List<Place>? places,
  2. List<RoutingSummary>? routingSummaries,
  3. List<ContextualContent>? contextualContents,
  4. String? nextPageToken,
  5. String? searchUri,
})

Implementation

PlacesResponse({
  List<Place>? places,
  this.routingSummaries,
  this.contextualContents,
  this.nextPageToken,
  this.searchUri,
}) : places = places ?? <Place>[];