setApplicationMuteState method Null safety

Future<int?> setApplicationMuteState(
  1. bool bMute
)

Set the mute status of the current process in the Windows system volume mixer

Note: this API supports only the Windows platform

Parameters:

bMute Whether to mute

Returned value:

0: success

Implementation

Future<int?> setApplicationMuteState(bool bMute) {
  return _channel.invokeMethod('setApplicationMuteState', {"bMute": bMute});
}