DiagnosticsBundleView class
Read-only parsed view of an exported bundle. Parsing NEVER writes to
StorageService or any registered service — this is FEAT-70's "import
chỉ read-only" contract: opening a diagnostics bundle a player/QA sent
you can never mutate your own app's state, unlike VersionedJsonStore
import (which is meant to restore state) or StorageService.importAll.
Properties
- appVersion → String
-
no setter
-
config
→ Map<
String, Object?> ? -
no setter
-
errors
→ Map<
String, String> -
no setter
- generatedAtMs → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
health
→ Map<
String, Object?> ? -
no setter
-
logs
→ List<
String> ? -
no setter
-
replay
→ Map<
String, Object?> ? -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaVersion → int
-
no setter
- truncated → bool
-
no setter
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
Static Methods
-
fromJson(
Map< String, Object?> json) → DiagnosticsBundleView? -
Returns
null(never throws) on a missing/malformed shape — same defensive convention as ReplayCapsule.fromJsonUnsigned. -
fromSignedJson(
Map< String, Object?> signedJson, String secret) → DiagnosticsBundleView? -
Verifies the HMAC via verifyAndStrip — throws FormatException on
a missing/mismatched checksum, that function's own contract — then
parses; returns
nullif the checksum is fine but the shape isn't.