JsFunction class final
A borrowed JavaScript function.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
List< Object?> arguments, {Object? receiver = undefined}) → Object? -
defineValue(
String key, Object? value) → void -
Defines an own data property without invoking an inherited setter.
inherited
-
get<
T> (String key) → T -
inherited
-
hasOwn(
String key) → bool -
Checks for an own property without reading its value.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retain(
) → JsReference< JsFunction> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String key) → Object? -
inherited
-
operator []=(
String key, Object? value) → void -
inherited