onUserLater method

void onUserLater(
  1. BuildContext context,
  2. bool shouldPop
)

Implementation

void onUserLater(BuildContext context, bool shouldPop) {
  if (debugLogging) {
    print('upgrader: button tapped: later');
  }

  // If this callback has been provided, call it.
  var doProcess = true;
  if (onLater != null) {
    doProcess = onLater!();
  }

  if (doProcess) {}

  if (shouldPop) {
    popNavigator(context);
  }
}