onUserIgnored method
Implementation
void onUserIgnored(BuildContext context, bool shouldPop) {
if (widget.upgrade.debugLogging) {
if (kDebugMode) {
print('hcUpgrade: button tapped: ignore');
}
}
// If this callback has been provided, call it.
final doProcess = widget.onIgnore?.call() ?? true;
if (doProcess) {
widget.upgrade.saveIgnored();
}
if (shouldPop) {
popNavigator(context);
}
}