OverrideRulesStore class

Properties

activeCount → int
no setter
activeRules → List<OverrideRule>
no setter
autoPaused → bool
no setter
debugBeforeWrite ↔ Future<void> Function()?
getter/setter pair
debugFailPersist ↔ bool
getter/setter pair
enabled → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
isLoaded → bool
no setter
rules → List<OverrideRule>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sandboxExpired → bool
no setter
sandboxLockedOut → bool
no setter
saveCheck ↔ Duration
getter/setter pair
state → Map<String, Object?>
no setter

Methods

clearRules() → void
debugSetSandboxLockedSince(DateTime? when) → void
ensureLoaded() → Future<void>
liftSandbox() → void
nextId() → String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
noteHealthyLaunch() → void
noteSandboxAccess({required bool hasAccess, required bool pending}) → void
persistNow() → Future<bool>
recordHit(String ruleId) → void
recordMatch(String ruleId) → void
removeRule(String id) → void
replaceAllRules(List<Object?> raw, {required bool enabled}) → List<OverrideRule>
resetForTest() → void
setEnabled(bool enabled) → void
setRuleEnabled(String id, bool enabled) → void
snapshotState(int inlineLimit) → Map<String, Object?>
subscribe(void onChange()) → void Function()
toPersistedForTest() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited
upsertRule(OverrideRule draft) → OverrideRule?

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

instance → OverrideRulesStore
final

Constants

sandboxLockedMax → const Duration