secondaryTextMatchedSubstrings property

  1. @BuiltValueField(wireName: r'secondary_text_matched_substrings')
BuiltList<PlaceAutocompleteMatchedSubstring>? get secondaryTextMatchedSubstrings

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

@BuiltValueField(wireName: r'secondary_text_matched_substrings')
BuiltList<PlaceAutocompleteMatchedSubstring>?
    get secondaryTextMatchedSubstrings;