setApplicationPlayVolume method Null safety

Future<int?> setApplicationPlayVolume(
  1. int volume
)

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

Note: this API supports only the Windows platform

Parameters:

volume Volume. Value range: 0,100

Returned value:

0: success

Implementation

Future<int?> setApplicationPlayVolume(int volume) {
  return _channel
      .invokeMethod('setApplicationPlayVolume', {"volume": volume});
}