EvalFunction class abstract
Abstract supertype for values representing a Function in dart_eval.
See $Function or $Closure to wrap an existing Dart function as a EvalFunction.
- Implemented types
- Implementers
Constructors
- EvalFunction()
-
const
Properties
- $reified → dynamic
-
Fully reify the underlying value so it can be used in a Dart context.
For example, recursively transform collections into their underlying
$values.
no setteroverride
- $value → dynamic
-
The backing Dart value of this $Value
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
$getProperty(
Runtime runtime, String identifier) → $Value? -
Get a property by
identifier
on this instanceoverride -
$getRuntimeType(
Runtime runtime) → int -
inherited
-
$setProperty(
Runtime runtime, String identifier, $Value value) → void -
Set a property by
identifier
on this instance tovalue
override -
call(
Runtime runtime, $Value? target, List< $Value?> args) → $Value? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited