PlaceAutocompleteStructuredFormat class

Constructors

PlaceAutocompleteStructuredFormat({required String mainText, required List<PlaceAutocompleteMatchedSubstring> mainTextMatchedSubstrings, required String secondaryText, List<PlaceAutocompleteMatchedSubstring>? secondaryTextMatchedSubstrings})
const
PlaceAutocompleteStructuredFormat.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
mainText String
Contains the main text of a prediction, usually the name of the place.
final
mainTextMatchedSubstrings List<PlaceAutocompleteMatchedSubstring>
Contains an array with offset value and length. These describe the location of the entered term in the prediction result text, so that the term can be highlighted if desired.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryText String
Contains the secondary text of a prediction, usually the location of the place.
final
secondaryTextMatchedSubstrings List<PlaceAutocompleteMatchedSubstring>?
Contains an array with offset value and length. These describe the location of the entered term in the prediction result text, so that the term can be highlighted if desired.
final

Methods

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

Operators

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