AutoCompleteState class
Properties
-
apiHeader is used to add headers to the request.
final
-
baseUrl
→ String?
-
baseUrl is used to build the url for the request.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
httpClient
→ Client?
-
httpClient is used to make network requests.
final
-
predictions
↔ List<Prediction>
-
The current state of the autocomplete.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
search(String query, String apiKey, {String? sessionToken, num? offset, Location? origin, Location? location, num? radius, String? language, List<String> types = const [], List<Component> components = const [], bool strictbounds = false, String? region})
→ Future<List<Prediction>>
-
void future function to get the autocomplete results.
-
toString()
→ String
-
A string representation of this object.
inherited