setVolume method

Future<void> setVolume(
  1. double volume
)

Sets the playback volume of the Player. Defaults to 100.0.

Implementation

Future<void> setVolume(double volume) async {
  return platform?.setVolume(volume);
}