setVolume method

Future<bool?> setVolume(
  1. num volume
)

Set volume of next utterance

Volume is specified as a double ranging from 0 to 1 where 0 is silence, and 1 is the maximum volume (the default behavior).

Implementation

Future<bool?> setVolume(num volume) =>
    TextToSpeechPlatform.instance.setVolume(volume);