muteAudio method

  1. @override
Future<bool?> muteAudio(
  1. bool status
)
override

Implementation

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