setVolume method

Future<void> setVolume(
  1. double volume
)

Set volume of current flow Only updated when calling play method

Implementation

Future<void> setVolume(double volume) async {
  this.volume = volume;
}