setVolume method
Sets the volume (amplitude).
Volume range is from 0-1. 0 is mute and 1 is the max volume. The values between 0 and 1 are linearly interpolated.
Implementation
Future<Result> setVolume(double volume) async {
return ResultMap[
await _invokeMethod('setVolume', {'volume': volume}) as int] ??
Result.ERROR;
}