EvalClass class
Type definition (see Type) for a class declared in the evaluated code. Serialized to a program, contains mappings from method and field names to implementation locations in the code.
- Implemented types
Constructors
Properties
- $reified → Never
-
Fully reify the underlying value so it can be used in a Dart context.
For example, recursively transform collections into their underlying
$values.
no setterinherited
- $value → Never
-
The backing Dart value of this $Value.
no setterinherited
- delegatedType → int
-
final
- evalClass → EvalClass
-
Class type. For signature definitions and implementations of methods
and fields.
finalinherited
- evalSuperclass → $Instance?
-
A superclass for this instance. Can also be an
$InstanceImpl.finalinherited -
getters
→ Map<
String, int> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
methods
→ Map<
String, int> -
final
-
mixins
→ List<
EvalClass?> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
setters
→ Map<
String, int> -
final
- superclass → EvalClass?
-
final
-
values
↔ List<
Object> -
List of property values. This field is accessed directly only from
the generated getters and setters, see
compileFieldDeclaration.finalgetter/setter pairinherited-setter
Methods
-
$getProperty(
Runtime runtime, String identifier) → $Value? -
Get a property by
identifieron this instanceinherited -
$getRuntimeType(
Runtime runtime) → int - Index of the class Type in the runtime dictionary. By definition can change from run to run, so it's customary to use Runtime.lookupType in implementations.
-
$setProperty(
Runtime runtime, String identifier, $Value value) → void -
Set a property by
identifieron this instance tovalueinherited -
getCoreObjectProperty(
String identifier) → $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