hasReflectee property

bool hasReflectee

Whether reflectee will return the instance reflected by this mirror.

This will always be true in the local case (reflecting instances in the same isolate), but only true in the remote case if this mirror reflects a simple value.

A value is simple if one of the following holds:

  • the value is null
  • the value is of type num
  • the value is of type bool
  • the value is of type String

Implementation

bool get hasReflectee;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-mirrors/InstanceMirror/hasReflectee.html