SinkKillswitch class

Per-sink analytics killswitch backed by a dynamic config.

Shape: { "datadog": true, "firstParty": true } A value of true stops all dispatch to that sink. Default {} (nothing killed). Fail-open: missing/malformed = sink stays on.

Constructors

SinkKillswitch({required Map<String, bool> getConfig()})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSinkKilled(SinkName sink) bool
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