Proxies a JavaScript Function object.

Inheritance
Implements

Constructors

JsFunction.internal()

JsFunction.withThis(Function f)

Returns a JsFunction that captures its 'this' binding and calls f with the value of this passed as the first argument.

factory

Properties

hashCode → int

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → dynamic

The equality operator.…

inherited
operator [](property) → dynamic

Returns the value associated with property from the proxied JavaScript object.…

inherited
operator []=(property, value) → dynamic

Sets the value associated with property on the proxied JavaScript object.…

inherited

Methods

apply(List args, {thisArg}) → dynamic

Invokes the JavaScript function with arguments args. If thisArg is supplied it is the value of this for the invocation.

call([a1 = _UNDEFINED, a2 = _UNDEFINED, a3 = _UNDEFINED, a4 = _UNDEFINED, a5 = _UNDEFINED, a6 = _UNDEFINED, a7 = _UNDEFINED, a8 = _UNDEFINED, a9 = _UNDEFINED, a10 = _UNDEFINED]) → dynamic

callMethod(String method, [List args]) → dynamic

Calls method on the JavaScript object with the arguments args and returns the result.…

inherited
deleteProperty(String property) → void

Removes property from the JavaScript object.…

inherited
hasProperty(String property) → bool

Returns true if the JavaScript object contains the specified property either directly or though its prototype chain.…

inherited
instanceof(JsFunction type) → bool

Returns true if the JavaScript object has type in its prototype chain.…

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.…

toString() → String

Returns the result of the JavaScript objects toString method.

inherited