stopNotificationPolling method

Future<bool> stopNotificationPolling()

Implementation

Future<bool> stopNotificationPolling() async {
  try {
    NotificationPolling.stopPolling();
    return true;
  } catch (e) {
    debugPrint("Error stopping polling: $e");
    return false;
  }
}