ProviderStallEvent class final
One classified stall: the named kind plus what was known when the watchdog fired. Produced by classifyProviderStall; carried into ConnTrace lines, StallSentinel dumps, and the SilentStreamPolicy ledger so every surface names the stall identically.
Constructors
- ProviderStallEvent({required ProviderStallKind kind, required String message, int? eventsSeen, int? idleSeconds})
-
Creates a stall record.
const
Properties
- eventsSeen → int?
-
How many SSE events were decoded before the silence, when the caller
knows (
null= unknown, e.g. a connect stall has no events by definition).final - hashCode → int
-
The hash code for this object.
no setterinherited
- idleSeconds → int?
-
The idle budget that was in effect when the watchdog fired, when the
error text carries one (the
300sin(stream idle timeout)).final - kind → ProviderStallKind
-
The named stall class.
final
- label → String
-
Human label for trace lines and notices (
connect stall,first-byte stall,mid-stream idle stall).no setter - message → String
-
The raw error text the watchdog produced (verbatim — the diagnostic
contract the ladders classify on).
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited