getCurrentVolume property

Future<double> getCurrentVolume

This method lets you know the volume level of the system

Implementation

static Future<double> get getCurrentVolume async {
  double temp = await _channel.invokeMethod(Constants.GET_CURRENT_VOLUME);
  return double.parse(temp.toStringAsFixed(1));
}