WasmFunction<F extends Function>.fromFunction constructor
Null safety
- F f
Create a typed function reference referring to the given function.
The argument must directly name a static function with no optional parameters and no type parameters.
Implementation
external factory WasmFunction.fromFunction(F f);