onUserUpdated method
Implementation
void onUserUpdated(BuildContext context, bool shouldPop) {
if (debugLogging) {
print('upgrader: button tapped: update now');
}
// If this callback has been provided, call it.
var doProcess = true;
if (onUpdate != null) {
doProcess = onUpdate!();
}
if (doProcess) {
_sendUserToAppStore();
}
if (shouldPop) {
popNavigator(context);
}
}