setMute method
Sets mute state for a stream type. The mute state will apply to all audio devices with the specified audio stream type. |streamType|: Stream type for which mute state should be set. |isMuted|: New mute value.
Implementation
Future<void> setMute(
StreamType streamType,
bool isMuted,
) async {
await $js.chrome.audio
.setMute(
streamType.toJS,
isMuted,
)
.toDart;
}