onUserLater method

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

Implementation

void onUserLater(BuildContext context, bool shouldPop) {
  if (widget.upgrade.debugLogging) {
    if (kDebugMode) {
      print('hcUpgrade: button tapped: later');
    }
  }

  // If this callback has been provided, call it.
  widget.onLater?.call();

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