mainTextMatchedSubstrings property

List<MainTextMatchedSubstring>? mainTextMatchedSubstrings
final

mainTextMatchedSubstrings 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<MainTextMatchedSubstring>? mainTextMatchedSubstrings;