Spec-Zone.ru › Dart 2

dart:mirrors

InstanceMirror class

An InstanceMirror reflects an instance of a Dart language object.

Implemented types
  • ObjectMirror
Implementers
  • ClosureMirror

Constructors

InstanceMirror()

Properties

hashCode → int
read-onlyinherited
The hash code for this object.
hasReflectee → bool
read-only
Whether reflectee will return the instance reflected by this mirror.
reflectee → dynamic
read-only
If the InstanceMirror reflects an instance it is meaningful to have a local reference to, we provide access to the actual instance here.
runtimeType → Type
read-onlyinherited
A representation of the runtime type of the object.
type → ClassMirror
read-only
A mirror on the type of the reflectee.

Methods

delegate(Invocation invocation) → dynamic
inherited
Performs invocation on the reflectee of this ObjectMirror.
getField(Symbol fieldName) → InstanceMirror
inherited
Invokes a getter and returns a mirror on the result.
invoke(Symbol memberName, List positionalArguments, [Map<Symbol, dynamic> namedArguments = const <Symbol, dynamic>{}]) → InstanceMirror
inherited
Invokes the named function and returns a mirror on the result.
noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed.
setField(Symbol fieldName, dynamic value) → InstanceMirror
inherited
Invokes a setter and returns a mirror on the result.
toString() → String
inherited
A string representation of this object.

Operators

operator ==(Object other) → bool
override
Whether this mirror is equal to other.

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-mirrors/InstanceMirror-class.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API