WasmFunction<F extends Function>.fromRef constructor
Null safety
- WasmAnyRef ref
Downcast anyref
to a typed function reference.
Will throw if the reference is not a function with the expected signature.
Implementation
external factory WasmFunction.fromRef(WasmAnyRef ref);