AutoCompleteItem class Null safety

Autocomplete results item returned from Google will be deserialized into this model.

Constructors

AutoCompleteItem()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
id String?
The id of the place. This helps to fetch the lat,lng of the place.
read / write
length int?
Length of matched part of the text
read / write
offset int?
Assistive index to begin highlight of matched part of the text with the original query
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
text String?
The text (name of place) displayed in the autocomplete suggestions list.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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