InstanceMirror class
An InstanceMirror reflects an instance of a Dart language object.
- Implements
- Implemented by
Constructors
Properties
- hasReflectee → bool
-
Whether reflectee will return the instance reflected by this mirror. [...]
read-only
- reflectee → dynamic
-
If the InstanceMirror reflects an instance it is meaningful to
have a local reference to, we provide access to the actual
instance here. [...]
read-only
- type → ClassMirror
-
A mirror on the type of the reflectee. [...]
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
delegate(
Invocation invocation) → dynamic -
Performs
invocation
on the reflectee of this ObjectMirror. [...]inherited -
getField(
Symbol fieldName) → InstanceMirror -
Invokes a getter and returns a mirror on the result. [...]
inherited
-
invoke(
Symbol memberName, List positionalArguments, [ Map< Symbol, dynamic> namedArguments ]) → InstanceMirror -
Invokes the named function and returns a mirror on the result. [...]
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setField(
Symbol fieldName, Object value) → InstanceMirror -
Invokes a setter and returns a mirror on the result. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
Whether this mirror is equal to
other
. [...]