isActive property

bool get isActive

Whether spilling can ever fire: the kill-switch and the zero threshold both mean legacy behavior.

Implementation

bool get isActive => enabled && threshold > 0;