core/web_debug library

Web debug storage for HiveHook.

On web: Stores objects directly in window.hiveDebug for easy DevTools inspection. On other platforms: No-op (debug storage only available on web).

Usage in browser console:

// View all stored objects
console.log(window.hiveDebug);

// View specific key
console.log(window.hiveDebug['myEnv::myKey']);

// List all keys
Object.keys(window.hiveDebug);

Properties

isWebDebugAvailable bool
Stub implementation for non-web platforms. Debug object storage is only available on web. Whether web debug is available on this platform.
no setter
maxDebugKeys int
Maximum number of debug keys (no-op on non-web, but matches web API).
getter/setter pair

Functions

initWebDebug() → void
Initialize web debug storage (no-op on non-web).
webDebugClear() → void
Clear all debug objects (no-op on non-web).
webDebugDelete(String key) → void
Delete a debug object (no-op on non-web).
webDebugKeys() List<String>
Get all debug keys (returns empty on non-web).
webDebugPut(String key, dynamic value) → void
Store a debug object (no-op on non-web).