PlacesAutocompleteStatus enum

Status code returned google maps api.

Inheritance

Constructors

PlacesAutocompleteStatus()
const

Values

OK → const PlacesAutocompleteStatus

The API request was successful.

ZERO_RESULTS → const PlacesAutocompleteStatus

The search was successful but returned no results. This may occur if the search was passed a bounds in a remote location.

INVALID_REQUEST → const PlacesAutocompleteStatus

The API request was malformed, generally due to the missing input parameter.

OVER_QUERY_LIMIT → const PlacesAutocompleteStatus

Possible due to any of the following:

  • You have exceeded the QPS limits.
  • Billing has not been enabled on your account.
  • The monthly $200 credit, or a self-imposed usage cap, has been exceeded.
  • The provided method of payment is no longer valid (for example, a credit card has expired).

See the Maps FAQ for more information about how to resolve this error.

REQUEST_DENIED → const PlacesAutocompleteStatus

The request was denied, generally because:

  • The request is missing an API key.
  • The key parameter is invalid.
UNKNOWN_ERROR → const PlacesAutocompleteStatus

An unknown error.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<PlacesAutocompleteStatus>
A constant List of the values in this enum, in order of their declaration.