CapabilityOverrides class

Test-only overrides consulted before real platform detection.

Install via setCapabilityOverridesForTesting (re-exported by package:wasmforge/testing.dart); null fields defer to real detection.

Constructors

CapabilityOverrides({bool? isWeb, bool? crossOriginIsolated, bool? wasmGc})
Creates a set of overrides; any field left null keeps real detection.
const

Properties

crossOriginIsolated bool?
Forced value for isCrossOriginIsolated, or null to detect.
final
hashCode int
The hash code for this object.
no setterinherited
isWeb bool?
Forced value for isWeb, or null to detect.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wasmGc bool?
Forced value for supportsWasmGc, or null to detect.
final

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