KillSwitchState class

One feature's current kill-switch decision — reason/version are the audit trail ("why was this killed, and which rollout"), populated from the remote payload when it's the richer {killed, reason, version} shape (a bare bool leaves them at their defaults, ''/0).

Constructors

KillSwitchState({required String featureId, required bool killed, required String reason, required int version, required KillSwitchSource source, required int decidedAtMs})
const

Properties

decidedAtMs → int
final
featureId → String
final
hashCode → int
The hash code for this object.
no setterinherited
killed → bool
final
reason → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → KillSwitchSource
final
version → int
final

Methods

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

Operators

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