setVolume method
Sets the volume of player. Max = 100 , Min = 0
Implementation
void setVolume(int volume) => volume >= 0 && volume <= 100
? _callMethod('setVolume($volume)')
: throw Exception("Volume should be between 0 and 100");
Sets the volume of player. Max = 100 , Min = 0
void setVolume(int volume) => volume >= 0 && volume <= 100
? _callMethod('setVolume($volume)')
: throw Exception("Volume should be between 0 and 100");