getVolume static method Null safety

double getVolume()

Gets current volume.