setPlayoutDeviceMute method Null safety

Future<int> setPlayoutDeviceMute(
  1. bool mute
)

Mute or unmute the current audio playback device

Implementation

Future<int> setPlayoutDeviceMute(bool mute) async {
  IntValue reply = await _api.setPlayoutDeviceMute(BoolValue()..value = mute);
  return reply.value ?? -1;
}