getPushNotification function

void getPushNotification()

Implementation

void getPushNotification() {
  Future.delayed(const Duration(seconds: 120), () {
    return checkForNotifications();
  }).whenComplete(() => getPushNotification());
}