isAudioMute method

Future<bool> isAudioMute({
  1. HMSPeer? peer,
})

To check the audio status of a peer is mute/unmute Pass in the peer object for the peer whose audio status you want to check

Implementation

Future<bool> isAudioMute({HMSPeer? peer}) async {
  return await PlatformService.invokeMethod(PlatformMethod.isAudioMute,
      arguments: {"peer_id": peer != null ? peer.peerId : "null"});
}