onSentenceCompleted property

String? Function(String)? onSentenceCompleted
getter/setter pair

Called whenever a new sentence is recognized.

If this function returns a string, the sentence recognized is overriden.

Implementation

String? Function(String)? onSentenceCompleted;