matchedSubstrings property

List<MatchedSubstring>? matchedSubstrings
final

matchedSubstrings 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<MatchedSubstring>? matchedSubstrings;