WorldStorm class final
One failure storm: a named window of scripted failures on one touchpoint. Kinds (the issue's storm classes):
network-flap— HTTP failures (default status 503) over a call range: callsfromCall, toCallfail.auth-expiry— an auth failure mid-flow (single call by default, codeuser-token-expired).partial-write— a half-written marker (the write "succeeds" but the response carriespartial: true, which honest syncs must detect and repair).
Constructors
Properties
- description → String
-
final
-
failure
→ Map<
String, dynamic> -
The scripted failure payload:
{type: http, status: 503}/{type: auth, code: user-token-expired}/{type: partial}.final - failureKind → String
-
The storm's failure classification label.
no setter
- fromCall → int
-
First call index (1-based) the storm fires on.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
final
- method → String?
-
Optional method scoping: the storm fires only on touchpoint's
method (null = every method of the touchpoint shares the call
window). Scoping is how mid-flow storms stay surgical — an auth
expiry at
signIncall 1 must not also failsignOut.final - name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toCall → int
-
Last call index the storm fires on (defaults to fromCall).
final
- touchpoint → String
-
final
Methods
-
firesOn(
int callIndex) → bool -
Whether the storm fires on
callIndex(1-based). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited