Wind class

Wind framework-level facade for debug-tooling integration.

Consumer host integration in lib/main.dart:

if (!kReleaseMode) {
  Wind.installDebugResolver();
  Wind.installPerfResolver();
}

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

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

installDebugResolver() → void
Installs the Wind diagnostics resolver into the global wind_kit_diagnostics_contracts registry. Idempotent. No-op in release builds (!kReleaseMode gate, so a profile build still carries it for a profiling session; release tree-shakes it).
installPerfResolver() → void
Installs the Wind performance resolver into the perf slot of the same registry. Idempotent. No-op in release builds (!kReleaseMode gate, so a profile build still carries it for a profiling session; release tree-shakes it).
resetForTesting() → void
Test-only reset. Drops both installed flags; call WindDebugRegistry.resetForTesting() separately from the test file to also clear the registry (the registry method is @visibleForTesting and may only be called from test/ context).