isEnabled property

bool get isEnabled

Returns whether the denylist is enabled and contains entries.

Implementation

bool get isEnabled => _config.enableDenylist && !_snapshot.isEmpty;