apiVersion property

PlacesApiVersion apiVersion
final

Which Google Places backend to use. Defaults to PlacesApiVersion.placesApiNew; pass PlacesApiVersion.legacy to keep using the legacy Places API on Google Cloud projects where it is still enabled. Ignored when placeApiProvider is supplied.

Implementation

abstract final PlacesApiVersion apiVersion;