onUserIgnored method

void onUserIgnored()

Implementation

void onUserIgnored() {
  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();
  }

  forceRebuild();
}