getMaxVolume property

Future<double> getMaxVolume

This method lets you know the max volume level of the system Android -> Android max Volume iOS -> 1.0

Implementation

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