function property
JSAny?
get
function
We used to call the injected function function
, but this is
incompatible with JavaScript's object declaration shorthand (see
https://crbug.com/1166438). We leave this silently in for backwards
compatibility.
TODO(devlin): Remove this in M95.
Implementation
JSAny? get function => _wrapped.function;
set
function
(JSAny? v)
Implementation
set function(JSAny? v) {
_wrapped.function = v;
}