muteLocalAudioStream method Null safety

Future<int> muteLocalAudioStream(
  1. bool mute
)

Mute the local audio stream The method stops or resumes publishing the local audio stream.

Implementation

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