createScope method
WasmScope
createScope(
- Scope<
Object?> scope, [ - WasmScopeOptions options = const WasmScopeOptions()
Creates a scope wrapper owned by this ABI registry.
Implementation
WasmScope createScope(
Scope<Object?> scope, [
WasmScopeOptions options = const WasmScopeOptions(),
]) {
return WasmScope(
unsafe.callMethod(
raw,
'createScope',
scope.raw,
options.toJsValue(),
) as JSObject,
);
}