onResult property

Future<void> Function(String text)? onResult
getter/setter pair

Optional callback that receives recognized text

Implementation

Future<void> Function(String text)? onResult;