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
@override
Future<void> setVolume(String playerId, double volume) {
return _call(
'setVolume',
playerId,
<String, dynamic>{
'volume': volume,
},
);
}