$Instance class abstract

Interface for objects with properties and methods. Given the nature of Dart (that virtually everything is an object), most classes (including wrappers) implement this interface.

Implemented types
Implementers

Constructors

$Instance()

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 setterinherited
$value → dynamic
The backing Dart value of this $Value.
no setterinherited
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 instance
$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.
inherited
$setProperty(Runtime runtime, String identifier, $Value value) → void
Set a property by identifier on this instance to value
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