setMuteNotification method

  1. @override
dynamic setMuteNotification(
  1. bool enable
)
override

This method is used to set mute notification.

Implementation

@override
setMuteNotification(bool enable) async {
  try {
    await mirrorFlyMethodChannel
        .invokeMethod('setMuteNotification', {"enable": enable});
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}