setVolume method

Future setVolume(
  1. double volume
)

Future which invokes the platform specific method for setVolume Allowed values are in the range from 0.0 (silent) to 1.0 (loudest)

Implementation

Future<dynamic> setVolume(double volume) async =>
    await _channel.invokeMethod('setVolume', volume);