secondaryTextMatchedSubstrings property
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.
Implementation
final List<PlaceAutocompleteMatchedSubstring>? secondaryTextMatchedSubstrings;