Sets the system volume.
Future<void> setVolume(int volume) async { try { await _methodChannel.invokeMethod('setVolume', {'volume': volume}); } catch (e) { throw Exception("Error setting volume: $e"); } }