volUp static method

Future<void> volUp({
  1. AudioManger? streamType,
  2. bool? showVolumeUiFlag,
})

Press Volume Up button programatically .

Implemetation :-

await SystemShortcuts.volUp ( );

Implementation

static Future<void> volUp(
    {AudioManger? streamType, bool? showVolumeUiFlag}) async {
  await _channel.invokeMethod(
    'volUp',
    {
      'streamType': _getStreamInt(streamType),
      'showVolumeUiFlag': showVolumeUiFlag ?? false ? 1 : 0,
    },
  );
}