recognizedPhrases property

List<String>? recognizedPhrases
final

If the platform provides it, a list of phrases that were recognized as individual utterances. This can generally be ignored as it is usually null and where it is not recognizedWords will contain the same information aggregated into a single string. Currently this is only populated on iOS 17.5 and 18 where a bug in the speech recognizer causes unexpected extra phrases. These are automatically handled by the plugin and recognizedWords will be an aggregate of all the phrases. To customize the handling of these phrases, use the SpeechToText.unexpectedPhraseAggregator property to customize the aggregation.

Implementation

final List<String>? recognizedPhrases;