setVolume method
Sets the volume (amplitude).
0 is mute and 1 is the max volume. The values between 0 and 1 are linearly interpolated.
Implementation
Future<int> setVolume(double volume) {
return _invokeMethod('setVolume', {'volume': volume});
}