func property

JSAny? get func

A JavaScript function to inject. This function will be serialized, and then deserialized for injection. This means that any bound parameters and execution context will be lost. Exactly one of files or func must be specified.

Implementation

JSAny? get func => _wrapped.func;
set func (JSAny? v)

Implementation

set func(JSAny? v) {
  _wrapped.func = v;
}