mute method
mute mute the device
Implementation
Future<bool> mute(Device device) async {
try {
final command = 'SoundVolumeView /mute ${device.name}';
device.muted = 'Yes';
await shell.run(command);
return true;
} catch( error ) {
return false;
}
}