process method
Implementation
Future<List<RecognitionCandidate>> process({String preContext = ''}) async {
try {
List result = await channel
.invokeMethod('process', <String, dynamic>{'preContext': preContext});
return result.map((item) => RecognitionCandidate.from(item)).toList();
} on PlatformException catch (e) {
print(e.message);
}
return [];
}