WASIComponentContext class final
Thread-local storage for Component Model context.get/set.
Constructors
-
WASIComponentContext({String name = 'context', Iterable<
int> initialSlots = const []}) - Creates a context with zero-initialized i32 storage.
Properties
Methods
-
get(
int index) → int -
Returns the i32 bit pattern stored in
index. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
int index, int value) → void -
Stores the i32 bit pattern
valueinindex. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited