callback property
wasmtime_func_callback_t
get
callback
The C function pointer to hand to wasmtime.
Implementation
c.wasmtime_func_callback_t get callback {
final callable = _callable;
if (callable == null || _closed) {
throw StateError('This host function has been closed.');
}
return callable.nativeFunction;
}