WasmFuncRef.fromWasmFunction constructor Null safety

WasmFuncRef.fromWasmFunction(
  1. WasmFunction<Function> fun
)

Upcast typed function reference to funcref

Implementation

external factory WasmFuncRef.fromWasmFunction(WasmFunction<Function> fun);