volUp static method
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,
},
);
}