isVideoMute method Null safety
- HMSPeer? peer
checks the video is mute or unmute just pass peer
Implementation
Future<bool> isVideoMute(HMSPeer? peer) async {
bool isMute = await PlatformService.invokeMethod(PlatformMethod.isVideoMute,
arguments: {"peer_id": peer?.peerId ?? ""});
return isMute;
}