KillSwitchSource enum

Where a KillSwitchState decision actually came from — surfaced so a debug overlay/health report can tell "ops explicitly killed this" apart from "we couldn't reach a fresh answer and fell back".

Inheritance
Available extensions

Values

localOverride → const KillSwitchSource

A client-side caller (FEAT-90's ShadowActivationController, or any other local guardrail) force-killed this feature via RemoteKillSwitchController.forceKillLocally — takes priority over every remote-driven source below, since it exists precisely to react FASTER than waiting for the next remote-config poll. Cleared only by an explicit RemoteKillSwitchController.clearLocalOverride call.

remoteValid → const KillSwitchSource

The current RemoteConfigService snapshot has a validly-shaped value for this feature right now.

cachedLastKnownGood → const KillSwitchSource

The remote value is missing or malformed on this read, but an earlier read for the same feature WAS valid — that earlier decision is kept as-is rather than reverting to any other default. This is the "invalid remote never opens a feature back up" guarantee: a corrupt payload can never flip a previously-killed feature back to enabled just by being garbage.

assetDefault → const KillSwitchSource

No valid remote value has ever been read for this feature — falls back to the caller-supplied bundled default (or false/"not killed" if the feature isn't in that map at all).

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<KillSwitchSource>
A constant List of the values in this enum, in order of their declaration.