muteVideo method

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

Implementation

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