setEnableSpeech static method

Future<bool> setEnableSpeech(
  1. bool shouldEnableSpeech
)

Implementation

static Future<bool> setEnableSpeech(bool shouldEnableSpeech) async {
  bool isSpeechEnabled = await _channel.invokeMethod(
      'setEnableSpeech', {"shouldEnableSpeech": shouldEnableSpeech});
  return isSpeechEnabled;
}