GoogleApi class

Constructors

GoogleApi(String apiKey)

Properties

apiKey String
final
client ↔ Client
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convertCountryListToString(String countryCodes) String
getAutoCompletePlaces({String? sessionToken, String? input, required String types, required String countries}) Future<PlacesPredictions>
getAutoCompletePlaces2({String? sessionToken, String? input, required String types, required String countries}) Future<List<PlaceResponse>?>
getPlaceDetails({String? sessionToken, String? placeId, String fields = "formatted_address,geometry,place_id,address_components"}) Future<PlaceDetailsResult>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

endpoint → const String
TAG → const String