isUserAudioMuted method

  1. @override
Future<bool?> isUserAudioMuted([
  1. String? userJid
])
override

This method is used to check if the user audio is muted.

Implementation

@override
Future<bool?> isUserAudioMuted([String? userJid]) async {
  bool? res;
  try {
    res = await mirrorFlyCallMethodChannel
        .invokeMethod('isUserAudioMuted', {"userJid": userJid});
    LogMessage.d('isUserAudioMuted', '$res');
    return res;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}