setSuppressed method

void setSuppressed(
  1. bool suppressed
)

Manually set the suppressed state (simulates an external state change).

Note: a subsequent requestSuppression or releaseSuppression call updates this flag based on that call's configured result, so this override reflects state only until the next request/release.

Implementation

void setSuppressed(bool suppressed) {
  _isCurrentlySuppressed = suppressed;
}