setMuteNotification method

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

Implementation

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