confirmIntent method

Future<String?> confirmIntent({
  1. String? confirmationText,
  2. String? positiveCommand,
  3. String? negativeCommand,
  4. String? voiceInputMessage,
  5. bool? voiceInput,
})

Implementation

Future<String?> confirmIntent(
    {String? confirmationText,
    String? positiveCommand,
    String? negativeCommand,
    String? voiceInputMessage,
    bool? voiceInput}) async {
  final String? result =
      await _channel.invokeMethod('confirmIntent', <String, dynamic>{
    'confirmationText': confirmationText,
    'positiveCommand': positiveCommand,
    'negativeCommand': negativeCommand,
    'voiceInputMessage': voiceInputMessage,
    'voiceInput': voiceInput,
  });
  print('[$_tag] confirmIntent: $result');
  return result;
}