getVol static method
get ths current system volume.
the range of returned value is 0.0, 1.0
.
Implementation
static Future<double> getVol() async {
var vol = await FijkPlugin._channel.invokeMethod("systemVolume");
if (vol != null) return Future.value(vol);
return Future.value(0);
}